예제 #1
0
        public static void AddChest(BaseCreature bc, int treasureLevel)
        {
            XmlParagon xa = GetXmlParagon(bc);

            if (xa != null)
            {
                xa.XmlAddChest(bc, treasureLevel);
            }
        }
예제 #2
0
        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));
            }
        }