예제 #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 GiveArtifactTo(Mobile m, BaseCreature bc)
        {
            XmlParagon xa = GetXmlParagon(bc);

            if (xa != null)
            {
                xa.XmlGiveArtifactTo(m, bc);
            }
            else
            {
                Paragon.GiveArtifactTo(m);
            }
        }
예제 #3
0
        public static bool CheckArtifactChance(Mobile m, BaseCreature bc)
        {
            XmlParagon xa = GetXmlParagon(bc);

            if (xa != null)
            {
                return(xa.XmlCheckArtifactChance(m, bc));
            }
            else
            {
                return(Paragon.CheckArtifactChance(m, bc));
            }
        }
예제 #4
0
        public static double GetChestChance(BaseCreature bc)
        {
            XmlParagon xa = GetXmlParagon(bc);

            if (xa != null)
            {
                return(xa.XmlChestChance(bc));
            }
            else
            {
                return(Paragon.ChestChance);
            }
        }
예제 #5
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));
            }
        }
예제 #6
0
        // static method hooks that interface with the distro Paragon system

        public static bool CheckConvert(BaseCreature bc, Point3D location, Map m)
        {
            XmlParagon xa = GetXmlParagon(bc);

            if (xa != null)
            {
                return(xa.XmlCheckConvert(bc, location, m));
            }
            else
            {
                return(Paragon.CheckConvert(bc, location, m));
            }
        }
예제 #7
0
        public static string GetParagonLabel(BaseCreature bc)
        {
            XmlParagon xa = GetXmlParagon(bc);

            if (xa != null)
            {
                return(xa.XmlGetParagonLabel(bc));
            }
            else
            {
                return("(Paragon)");
            }
        }
예제 #8
0
        public static void UnConvert(BaseCreature bc)
        {
            XmlParagon xa = GetXmlParagon(bc);

            if (xa != null)
            {
                xa.XmlUnConvert(bc);
            }
            else
            {
                Paragon.UnConvert(bc);
            }
        }
예제 #9
0
        public static double GetHitsBuff(BaseCreature bc)
        {
            XmlParagon xa = GetXmlParagon(bc);

            if (xa != null)
            {
                return(xa.HitsBuff);
            }
            else
            {
                return(Paragon.HitsBuff);
            }
        }
예제 #10
0
        public static void UnConvert(BaseCreature bc)
        {
            XmlParagon xa = GetXmlParagon(bc);

            Paragon.UnConvert(bc);
        }