public static void AddChest(BaseCreature bc, int treasureLevel) { XmlParagon xa = GetXmlParagon(bc); if (xa != null) { xa.XmlAddChest(bc, treasureLevel); } }
public static void AddChest(BaseCreature bc, int treasureLevel) { XmlParagon xa = GetXmlParagon(bc); if (xa != null) { xa.XmlAddChest(bc, treasureLevel); } else { bc.PackItem(new ParagonChest(bc.Name, treasureLevel)); } }