RedBeard

Member
The scroll transcendence drops fine but other items don't.

Code:
  // distribute a reward to the puzzle solver
  private void GiveReward(Mobile m)
  {
  if (null == m)
  return;
  Item item = null;
  switch (Utility.Random(1))
  {
  case 0:
  item = ScrollofTranscendence.CreateRandom(10, 10);
  break;
  case 1:
  item = (new BoneContainerLich()); 
  break;
  case 2:
  item = (new ExecutionerPlatformAddonDeed());
  break;
  case 3:
  item = (new GruesomeStandardLich());
  break;
  case 4:
  item = (new SkullTotem());
  break;
  case 5:
  item = (new BagOfGems());
  break;
  case 6:
  // random piece of spawn decoration
  break;
  }
  // drop the item in backpack or bankbox
  if (null != item)
  {
  Container pack = m.Backpack;
  if (null == pack || !pack.TryDropItem(m, item, false))
  m.BankBox.DropItem(item);
  }
  }
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back