Esempio n. 1
0
        public ChaosDragoon()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.4)
        {
            Name = "a chaos dragoon";
            Body = 0x190;
            Hue  = Utility.RandomSkinHue();

            SetStr(176, 225);
            SetDex(81, 95);
            SetInt(61, 85);

            SetHits(176, 225);

            SetDamage(24, 26);

            SetDamageType(ResistanceType.Physical, 25);
            SetDamageType(ResistanceType.Fire, 25);
            SetDamageType(ResistanceType.Cold, 25);
            SetDamageType(ResistanceType.Energy, 25);

            SetSkill(SkillName.Fencing, 77.6, 92.5);
            SetSkill(SkillName.Healing, 60.3, 90.0);
            SetSkill(SkillName.Macing, 77.6, 92.5);
            SetSkill(SkillName.Anatomy, 77.6, 87.5);
            SetSkill(SkillName.MagicResist, 77.6, 97.5);
            SetSkill(SkillName.Swords, 77.6, 92.5);
            SetSkill(SkillName.Tactics, 77.6, 87.5);

            Fame  = 5000;
            Karma = -5000;

            CraftResource res = CraftResource.None;

            switch (Utility.Random(6))
            {
            case 0:
                res = CraftResource.BlackScales;
                break;

            case 1:
                res = CraftResource.RedScales;
                break;

            case 2:
                res = CraftResource.BlueScales;
                break;

            case 3:
                res = CraftResource.YellowScales;
                break;

            case 4:
                res = CraftResource.GreenScales;
                break;

            case 5:
                res = CraftResource.WhiteScales;
                break;
            }

            BaseWeapon melee = null;

            switch (Utility.Random(3))
            {
            case 0:
                melee = new Kryss();
                break;

            case 1:
                melee = new Broadsword();
                break;

            case 2:
                melee = new Katana();
                break;
            }

            AddItem(melee);

            DragonHelm helm = new DragonHelm();

            helm.Resource = res;
            AddItem(helm);

            DragonChest chest = new DragonChest();

            chest.Resource = res;
            AddItem(chest);

            DragonArms arms = new DragonArms();

            arms.Resource = res;
            AddItem(arms);

            DragonGloves gloves = new DragonGloves();

            gloves.Resource = res;
            AddItem(gloves);

            DragonLegs legs = new DragonLegs();

            legs.Resource = res;
            AddItem(legs);

            ChaosShield shield = new ChaosShield();

            AddItem(shield);

            AddItem(new Shirt());
            AddItem(new Boots());
            //AddItem(new Boots(0x455));
            //AddItem(new Shirt(Utility.RandomMetalHue()));

            int amount = Utility.RandomMinMax(1, 3);

            switch (res)
            {
            case CraftResource.BlackScales:
                AddItem(new BlackScales(amount));
                break;

            case CraftResource.RedScales:
                AddItem(new RedScales(amount));
                break;

            case CraftResource.BlueScales:
                AddItem(new BlueScales(amount));
                break;

            case CraftResource.YellowScales:
                AddItem(new YellowScales(amount));
                break;

            case CraftResource.GreenScales:
                AddItem(new GreenScales(amount));
                break;

            case CraftResource.WhiteScales:
                AddItem(new WhiteScales(amount));
                break;
            }

            new SwampDragon().Rider = this;

            SetSpecialAbility(SpecialAbility.DragonBreath);
        }
Esempio n. 2
0
        public ChaosDragoonElite()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.15, 0.4)
        {
            this.Name = "a chaos dragoon elite";
            this.Body = 0x190;
            this.Hue  = Utility.RandomSkinHue();

            this.SetStr(276, 350);
            this.SetDex(66, 90);
            this.SetInt(126, 150);

            this.SetHits(276, 350);

            this.SetDamage(29, 34);

            this.SetDamageType(ResistanceType.Physical, 100);

            /*SetResistance(ResistanceType.Physical, 45, 55);
             * SetResistance(ResistanceType.Fire, 15, 25);
             * SetResistance(ResistanceType.Cold, 50);
             * SetResistance(ResistanceType.Poison, 25, 35);
             * SetResistance(ResistanceType.Energy, 25, 35);*/

            this.SetSkill(SkillName.Tactics, 80.1, 100.0);
            this.SetSkill(SkillName.MagicResist, 100.1, 110.0);
            this.SetSkill(SkillName.Anatomy, 80.1, 100.0);
            this.SetSkill(SkillName.Magery, 85.1, 100.0);
            this.SetSkill(SkillName.EvalInt, 85.1, 100.0);
            this.SetSkill(SkillName.Swords, 72.5, 95.0);
            this.SetSkill(SkillName.Fencing, 85.1, 100);
            this.SetSkill(SkillName.Macing, 85.1, 100);

            this.Fame  = 8000;
            this.Karma = -8000;

            CraftResource res = CraftResource.None;

            switch (Utility.Random(6))
            {
            case 0:
                res = CraftResource.BlackScales;
                break;

            case 1:
                res = CraftResource.RedScales;
                break;

            case 2:
                res = CraftResource.BlueScales;
                break;

            case 3:
                res = CraftResource.YellowScales;
                break;

            case 4:
                res = CraftResource.GreenScales;
                break;

            case 5:
                res = CraftResource.WhiteScales;
                break;
            }

            BaseWeapon melee = null;

            switch (Utility.Random(3))
            {
            case 0:
                melee = new Kryss();
                break;

            case 1:
                melee = new Broadsword();
                break;

            case 2:
                melee = new Katana();
                break;
            }

            melee.Movable = false;
            this.AddItem(melee);

            DragonChest Tunic = new DragonChest();

            Tunic.Resource = res;
            Tunic.Movable  = false;
            this.AddItem(Tunic);

            DragonLegs Legs = new DragonLegs();

            Legs.Resource = res;
            Legs.Movable  = false;
            this.AddItem(Legs);

            DragonArms Arms = new DragonArms();

            Arms.Resource = res;
            Arms.Movable  = false;
            this.AddItem(Arms);

            DragonGloves Gloves = new DragonGloves();

            Gloves.Resource = res;
            Gloves.Movable  = false;
            this.AddItem(Gloves);

            DragonHelm Helm = new DragonHelm();

            Helm.Resource = res;
            Helm.Movable  = false;
            this.AddItem(Helm);

            ChaosShield shield = new ChaosShield();

            shield.Movable = false;
            this.AddItem(shield);

            this.AddItem(new Boots(0x455));
            this.AddItem(new Shirt(Utility.RandomMetalHue()));

            int amount = Utility.RandomMinMax(1, 3);

            switch (res)
            {
            case CraftResource.BlackScales:
                this.AddItem(new BlackScales(amount));
                break;

            case CraftResource.RedScales:
                this.AddItem(new RedScales(amount));
                break;

            case CraftResource.BlueScales:
                this.AddItem(new BlueScales(amount));
                break;

            case CraftResource.YellowScales:
                this.AddItem(new YellowScales(amount));
                break;

            case CraftResource.GreenScales:
                this.AddItem(new GreenScales(amount));
                break;

            case CraftResource.WhiteScales:
                this.AddItem(new WhiteScales(amount));
                break;
            }
            switch (Utility.Random(9))
            {
            case 0:
                res = CraftResource.DullCopper;
                break;

            case 1:
                res = CraftResource.ShadowIron;
                break;

            case 2:
                res = CraftResource.Copper;
                break;

            case 3:
                res = CraftResource.Bronze;
                break;

            case 4:
                res = CraftResource.Gold;
                break;

            case 5:
                res = CraftResource.Agapite;
                break;

            case 6:
                res = CraftResource.Verite;
                break;

            case 7:
                res = CraftResource.Valorite;
                break;

            case 8:
                res = CraftResource.Iron;
                break;
            }

            SwampDragon mt = new SwampDragon();

            mt.HasBarding      = true;
            mt.BardingResource = res;
            mt.BardingHP       = mt.BardingMaxHP;
            mt.Rider           = this;
        }
        public BaneChosenHoundMaster() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.4)
        {
            Name = "a bane chosen hound master";
            Body = 0x190;
            Hue  = Utility.RandomSkinHue();

            SetStr(176, 225);
            SetDex(81, 95);
            SetInt(61, 85);

            SetHits(376, 450);

            SetDamage(24, 26);

            SetDamageType(ResistanceType.Physical, 25);
            SetDamageType(ResistanceType.Fire, 25);
            SetDamageType(ResistanceType.Cold, 25);
            SetDamageType(ResistanceType.Energy, 25);

            SetResistance(ResistanceType.Physical, 45, 55);
            SetResistance(ResistanceType.Fire, 15, 25);
            SetResistance(ResistanceType.Cold, 50);
            SetResistance(ResistanceType.Poison, 25, 35);
            SetResistance(ResistanceType.Energy, 25, 35);

            SetSkill(SkillName.Fencing, 77.6, 92.5);
            SetSkill(SkillName.Healing, 60.3, 90.0);
            SetSkill(SkillName.Macing, 77.6, 92.5);
            SetSkill(SkillName.Anatomy, 77.6, 87.5);
            SetSkill(SkillName.MagicResist, 77.6, 97.5);
            SetSkill(SkillName.Swords, 77.6, 92.5);
            SetSkill(SkillName.Tactics, 77.6, 87.5);

            Fame  = 5000;
            Karma = -5000;

            CraftResource res = CraftResource.BlackScales;

            BaseWeapon melee = null;

            switch (Utility.Random(3))
            {
            case 0: melee = new Kryss(); break;

            case 1: melee = new Broadsword(); break;

            case 2: melee = new Katana(); break;
            }

            melee.Movable = false;
            AddItem(melee);

            DragonHelm helm = new DragonHelm();

            helm.Resource = res;
            helm.Movable  = false;
            AddItem(helm);

            DragonChest chest = new DragonChest();

            chest.Resource = res;
            chest.Movable  = false;
            AddItem(chest);

            DragonArms arms = new DragonArms();

            arms.Resource = res;
            arms.Movable  = false;
            AddItem(arms);

            DragonGloves gloves = new DragonGloves();

            gloves.Resource = res;
            gloves.Movable  = false;
            AddItem(gloves);

            DragonLegs legs = new DragonLegs();

            legs.Resource = res;
            legs.Movable  = false;
            AddItem(legs);

            ChaosShield shield = new ChaosShield();

            shield.Movable = false;
            AddItem(shield);

            AddItem(new Shirt());
            AddItem(new Boots());
        }
Esempio n. 4
0
        public ChaosDragoonElite()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.15, 0.4)
        {
            Body = 0x190;
            Hue  = Race.Human.RandomSkinHue();

            SetStr(276, 350);
            SetDex(66, 90);
            SetInt(126, 150);

            SetHits(276, 350);

            SetDamage(29, 34);

            SetDamageType(ResistanceType.Physical, 100);

            /*SetResistance(ResistanceType.Physical, 45, 55);
             * SetResistance(ResistanceType.Fire, 15, 25);
             * SetResistance(ResistanceType.Cold, 50);
             * SetResistance(ResistanceType.Poison, 25, 35);
             * SetResistance(ResistanceType.Energy, 25, 35);*/

            SetSkill(SkillName.Tactics, 80.1, 100.0);
            SetSkill(SkillName.MagicResist, 100.1, 110.0);
            SetSkill(SkillName.Anatomy, 80.1, 100.0);
            SetSkill(SkillName.Magery, 85.1, 100.0);
            SetSkill(SkillName.EvalInt, 85.1, 100.0);
            SetSkill(SkillName.Swords, 72.5, 95.0);
            SetSkill(SkillName.Fencing, 85.1, 100);
            SetSkill(SkillName.Macing, 85.1, 100);

            Fame  = 8000;
            Karma = -8000;

            CraftResource res = CraftResource.None;

            res = Utility.Random(6) switch
            {
                0 => CraftResource.BlackScales,
                1 => CraftResource.RedScales,
                2 => CraftResource.BlueScales,
                3 => CraftResource.YellowScales,
                4 => CraftResource.GreenScales,
                5 => CraftResource.WhiteScales,
                _ => res
            };

            var melee = Utility.Random(3) switch
            {
                0 => (BaseWeapon) new Kryss(),
                1 => new Broadsword(),
                2 => new Katana(),
                _ => null
            };

            melee.Movable = false;
            AddItem(melee);

            DragonChest Tunic = new DragonChest();

            Tunic.Resource = res;
            Tunic.Movable  = false;
            AddItem(Tunic);

            DragonLegs Legs = new DragonLegs();

            Legs.Resource = res;
            Legs.Movable  = false;
            AddItem(Legs);

            DragonArms Arms = new DragonArms();

            Arms.Resource = res;
            Arms.Movable  = false;
            AddItem(Arms);

            DragonGloves Gloves = new DragonGloves();

            Gloves.Resource = res;
            Gloves.Movable  = false;
            AddItem(Gloves);

            DragonHelm Helm = new DragonHelm();

            Helm.Resource = res;
            Helm.Movable  = false;
            AddItem(Helm);

            ChaosShield shield = new ChaosShield();

            shield.Movable = false;
            AddItem(shield);

            AddItem(new Boots(0x455));
            AddItem(new Shirt(Utility.RandomMetalHue()));

            int amount = Utility.RandomMinMax(1, 3);

            switch (res)
            {
            case CraftResource.BlackScales:
                AddItem(new BlackScales(amount));
                break;

            case CraftResource.RedScales:
                AddItem(new RedScales(amount));
                break;

            case CraftResource.BlueScales:
                AddItem(new BlueScales(amount));
                break;

            case CraftResource.YellowScales:
                AddItem(new YellowScales(amount));
                break;

            case CraftResource.GreenScales:
                AddItem(new GreenScales(amount));
                break;

            case CraftResource.WhiteScales:
                AddItem(new WhiteScales(amount));
                break;
            }

            res = Utility.Random(9) switch
            {
                0 => CraftResource.DullCopper,
                1 => CraftResource.ShadowIron,
                2 => CraftResource.Copper,
                3 => CraftResource.Bronze,
                4 => CraftResource.Gold,
                5 => CraftResource.Agapite,
                6 => CraftResource.Verite,
                7 => CraftResource.Valorite,
                8 => CraftResource.Iron,
                _ => res
            };

            SwampDragon mt = new SwampDragon();

            mt.HasBarding      = true;
            mt.BardingResource = res;
            mt.BardingHP       = mt.BardingMaxHP;
            mt.Rider           = this;
        }
        public SerpentsHoldGuard() : base(AIType.AI_Melee, FightMode.Closest, 15, 1, 0.1, 0.2)
        {
            Title = "the Knight";

            SetStr(1750, 1750);
            SetDex(150, 150);
            SetInt(61, 75);

            SetSkill(SkillName.MagicResist, 120.0, 120.0);
            SetSkill(SkillName.Swords, 120.0, 120.0);
            SetSkill(SkillName.Tactics, 120.0, 120.0);
            SetSkill(SkillName.Anatomy, 120.0, 120.0);

            Longsword onehanded = new Longsword();

            onehanded.Hue = 2301;
            AddItem(onehanded);
            HeaterShield twohanded = new HeaterShield();

            twohanded.Hue = 2301;
            AddItem(twohanded);
            DragonLegs legs = new DragonLegs();

            legs.Hue = 2301;
            AddItem(legs);
            DragonArms arms = new DragonArms();

            arms.Hue = 2301;
            AddItem(arms);
            AddItem(new Boots(2301));
            DragonHelm helm = new DragonHelm();

            helm.Hue = 2301;
            AddItem(helm);
            AddItem(new Cloak(237));
            DragonGloves gloves = new DragonGloves();

            gloves.Hue = 2301;
            AddItem(gloves);
            AddItem(new BodySash(237));

            if (Female = Utility.RandomBool())
            {
                Body = 401;
                Name = NameList.RandomName("female");

                DragonChest chest = new DragonChest();
                chest.Hue = 2301;
                AddItem(chest);
            }
            else
            {
                Body = 400;
                Name = NameList.RandomName("male");

                DragonChest chest = new DragonChest();
                chest.Hue = 2301;
                AddItem(chest);
            }

            Utility.AssignRandomHair(this);
        }
Esempio n. 6
0
        public Rivatach()
            : base(AIType.AI_Necromage, FightMode.Aggressor, 10, 1, 0.2, 0.4)
        {
            Name = "Rivatach";
            Body = 0x190;

            SpeechHue = 44;

            Hue = 1175;

            BaseSoundID = 362;

            SetStr(2500);
            SetDex(300);
            SetInt(1100);

            SetHits(55000);

            SetDamage(30, 35);

            SetDamageType(ResistanceType.Physical, 50);
            SetDamageType(ResistanceType.Fire, 50);

            SetResistance(ResistanceType.Physical, 0, 0);
            SetResistance(ResistanceType.Fire, 120);
            SetResistance(ResistanceType.Cold, 10, 12);
            SetResistance(ResistanceType.Poison, 10, 12);
            SetResistance(ResistanceType.Energy, 10, 12);

            SetSkill(SkillName.EvalInt, 125.3);
            SetSkill(SkillName.Swords, 120.1, 130.0);
            SetSkill(SkillName.Necromancy, 120.1, 130.0);
            SetSkill(SkillName.Magery, 125.0);
            SetSkill(SkillName.MagicResist, 125.0);
            SetSkill(SkillName.Tactics, 130.0);
            SetSkill(SkillName.Wrestling, 130.0);
            SetSkill(SkillName.Meditation, 130.0);
            SetSkill(SkillName.Anatomy, 125.0);
            SetSkill(SkillName.DetectHidden, 120.0);
            SetSkill(SkillName.SpiritSpeak, 120);

            Fame  = 20000;
            Karma = -20000;

            VirtualArmor = 80;

            AddItem(new ThighBoots(1175));

            Tekagi claw = new Tekagi();

            claw.Movable = false;
            AddItem(claw);

            ClothNinjaHood helm = new ClothNinjaHood();

            helm.Hue     = 2406;
            helm.Movable = false;
            AddItem(helm);

            DragonChest chest = new DragonChest();

            chest.Resource = CraftResource.BlackScales;
            chest.Movable  = false;
            AddItem(chest);

            DragonArms arms = new DragonArms();

            arms.Resource = CraftResource.BlackScales;
            arms.Movable  = false;
            AddItem(arms);

            DragonGloves gloves = new DragonGloves();

            gloves.Resource = CraftResource.BlackScales;
            gloves.Movable  = false;
            AddItem(gloves);

            DragonLegs legs = new DragonLegs();

            legs.Resource = CraftResource.BlackScales;
            legs.Movable  = false;
            AddItem(legs);
        }
Esempio n. 7
0
        public static void InitOutfit(Mobile m)
        {
            CraftResource res = CraftResource.None;

            switch (Utility.Random(6))
            {
            case 0:
                res = CraftResource.BlackScales;
                break;

            case 1:
                res = CraftResource.RedScales;
                break;

            case 2:
                res = CraftResource.BlueScales;
                break;

            case 3:
                res = CraftResource.YellowScales;
                break;

            case 4:
                res = CraftResource.GreenScales;
                break;

            case 5:
                res = CraftResource.WhiteScales;
                break;
            }

            BaseWeapon melee = new Kryss();

            DragonHelm helm = new DragonHelm();

            helm.Name     = "exceptional iron sea serpent scale helm";
            helm.Resource = res;
            helm.Movable  = false;
            m.AddItem(helm);

            ChainChest chest = new ChainChest();

            chest.Name     = "exceptional iron sea serpent scale tunic";
            chest.Resource = res;
            chest.Movable  = false;
            m.AddItem(chest);

            DragonArms arms = new DragonArms();

            arms.Name     = "exceptional iron sea serpent scale arms";
            arms.Resource = res;
            arms.Movable  = false;
            m.AddItem(arms);

            DragonGloves gloves = new DragonGloves();

            gloves.Name     = "exceptional iron sea serpent scale gloves";
            gloves.Resource = res;
            gloves.Movable  = false;
            m.AddItem(gloves);

            DragonLegs legs = new DragonLegs();

            legs.Name     = "exceptional iron sea serpent scale legs";
            legs.Resource = res;
            legs.Movable  = false;
            m.AddItem(legs);

            melee.Movable = false;
            m.AddItem(melee);

            ChaosShield shield = new ChaosShield();

            shield.Movable = false;
            m.AddItem(shield);

            Shoes shoes = new Shoes(Utility.RandomNeutralHue());

            shoes.Movable = false;
            m.AddItem(shoes);

            int amount = Utility.RandomMinMax(1, 3);

            switch (res)
            {
            case CraftResource.BlackScales:
                m.AddItem(new BlackScales(amount));
                break;

            case CraftResource.RedScales:
                m.AddItem(new RedScales(amount));
                break;

            case CraftResource.BlueScales:
                m.AddItem(new BlueScales(amount));
                break;

            case CraftResource.YellowScales:
                m.AddItem(new YellowScales(amount));
                break;

            case CraftResource.GreenScales:
                m.AddItem(new GreenScales(amount));
                break;

            case CraftResource.WhiteScales:
                m.AddItem(new WhiteScales(amount));
                break;
            }
        }
Esempio n. 8
0
        public ChaosDragoon() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.4)
        {
            Body = 0x190;
            Hue  = Race.Human.RandomSkinHue();

            SetStr(176, 225);
            SetDex(81, 95);
            SetInt(61, 85);

            SetHits(176, 225);

            SetDamage(24, 26);

            SetDamageType(ResistanceType.Physical, 25);
            SetDamageType(ResistanceType.Fire, 25);
            SetDamageType(ResistanceType.Cold, 25);
            SetDamageType(ResistanceType.Energy, 25);

            //SetResistance( ResistanceType.Physical, 25, 38 );
            //SetResistance( ResistanceType.Fire, 25, 38 );
            //SetResistance( ResistanceType.Cold, 25, 38 );
            //SetResistance( ResistanceType.Poison, 25, 38 );
            //SetResistance( ResistanceType.Energy, 25, 38 );

            SetSkill(SkillName.Fencing, 77.6, 92.5);
            SetSkill(SkillName.Healing, 60.3, 90.0);
            SetSkill(SkillName.Macing, 77.6, 92.5);
            SetSkill(SkillName.Anatomy, 77.6, 87.5);
            SetSkill(SkillName.MagicResist, 77.6, 97.5);
            SetSkill(SkillName.Swords, 77.6, 92.5);
            SetSkill(SkillName.Tactics, 77.6, 87.5);

            Fame  = 5000;
            Karma = -5000;

            var res = Utility.Random(6) switch
            {
                0 => CraftResource.BlackScales,
                1 => CraftResource.RedScales,
                2 => CraftResource.BlueScales,
                3 => CraftResource.YellowScales,
                4 => CraftResource.GreenScales,
                5 => CraftResource.WhiteScales,
                _ => CraftResource.None
            };

            var melee = Utility.Random(3) switch
            {
                0 => (BaseWeapon) new Kryss(),
                1 => new Broadsword(),
                2 => new Katana(),
                _ => null
            };

            melee.Movable = false;
            AddItem(melee);

            DragonHelm helm = new DragonHelm();

            helm.Resource = res;
            helm.Movable  = false;
            AddItem(helm);

            DragonChest chest = new DragonChest();

            chest.Resource = res;
            chest.Movable  = false;
            AddItem(chest);

            DragonArms arms = new DragonArms();

            arms.Resource = res;
            arms.Movable  = false;
            AddItem(arms);

            DragonGloves gloves = new DragonGloves();

            gloves.Resource = res;
            gloves.Movable  = false;
            AddItem(gloves);

            DragonLegs legs = new DragonLegs();

            legs.Resource = res;
            legs.Movable  = false;
            AddItem(legs);

            ChaosShield shield = new ChaosShield();

            shield.Movable = false;
            AddItem(shield);

            AddItem(new Shirt());
            AddItem(new Boots());

            int amount = Utility.RandomMinMax(1, 3);

            switch (res)
            {
            case CraftResource.BlackScales:
                AddItem(new BlackScales(amount));
                break;

            case CraftResource.RedScales:
                AddItem(new RedScales(amount));
                break;

            case CraftResource.BlueScales:
                AddItem(new BlueScales(amount));
                break;

            case CraftResource.YellowScales:
                AddItem(new YellowScales(amount));
                break;

            case CraftResource.GreenScales:
                AddItem(new GreenScales(amount));
                break;

            case CraftResource.WhiteScales:
                AddItem(new WhiteScales(amount));
                break;
            }

            new SwampDragon().Rider = this;
        }
Esempio n. 9
0
        public Kealdia()
            : base(AIType.AI_Necromage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Kealdia";
            Body = 401;
            Hue  = 33792;

            SpeechHue = 44;
            Female    = true;

            HairItemID = 12239;
            HairHue    = 1617; //not entirely correct

            BaseSoundID = 362;

            SetStr(2700);
            SetDex(300);
            SetInt(1100);

            SetHits(55000);

            SetDamage(20, 25);

            SetDamageType(ResistanceType.Physical, 50);
            SetDamageType(ResistanceType.Fire, 50);

            SetResistance(ResistanceType.Physical, 0, 0);
            SetResistance(ResistanceType.Fire, 120);
            SetResistance(ResistanceType.Cold, 10, 12);
            SetResistance(ResistanceType.Poison, 10, 12);
            SetResistance(ResistanceType.Energy, 10, 12);

            SetSkill(SkillName.EvalInt, 125.3);
            SetSkill(SkillName.Swords, 120.1, 130.0);
            SetSkill(SkillName.Necromancy, 120.1, 130.0);
            SetSkill(SkillName.Magery, 125.0);
            SetSkill(SkillName.MagicResist, 125.0);
            SetSkill(SkillName.Tactics, 130.0);
            SetSkill(SkillName.Wrestling, 130.0);
            SetSkill(SkillName.Meditation, 130.0);
            SetSkill(SkillName.Anatomy, 125.0);
            SetSkill(SkillName.DetectHidden, 120.0);
            SetSkill(SkillName.SpiritSpeak, 120);

            Fame  = 20000;
            Karma = -20000;

            VirtualArmor = 80;

            AddItem(new Sandals(1175));

            BladedStaff staff = new BladedStaff();

            staff.Movable = false;
            AddItem(staff);

            DragonChest chest = new DragonChest();

            chest.Resource = CraftResource.BlackScales;
            chest.Movable  = false;
            AddItem(chest);

            DragonArms arms = new DragonArms();

            arms.Resource = CraftResource.BlackScales;
            arms.Movable  = false;
            AddItem(arms);

            DragonGloves gloves = new DragonGloves();

            gloves.Resource = CraftResource.BlackScales;
            gloves.Movable  = false;
            AddItem(gloves);

            DragonLegs legs = new DragonLegs();

            legs.Resource = CraftResource.BlackScales;
            legs.Movable  = false;
            AddItem(legs);
        }
Esempio n. 10
0
        public Myxkion()
            : base(AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4)
        {
            Name = "Myxkion";
            Body = 0x190;

            Hue = 1175;

            SpeechHue = 44;

            BaseSoundID = 362;

            SetStr(2500);
            SetDex(300);
            SetInt(1100);

            SetHits(55000);

            SetDamage(25, 30);

            SetDamageType(ResistanceType.Physical, 50);
            SetDamageType(ResistanceType.Fire, 50);

            SetResistance(ResistanceType.Physical, 0, 0);
            SetResistance(ResistanceType.Fire, 100);
            SetResistance(ResistanceType.Cold, 10, 70);
            SetResistance(ResistanceType.Poison, 10, 12);
            SetResistance(ResistanceType.Energy, 10, 12);

            SetSkill(SkillName.EvalInt, 125.3);
            SetSkill(SkillName.Swords, 120.1, 130.0);
            SetSkill(SkillName.Necromancy, 120.1, 130.0);
            SetSkill(SkillName.Magery, 125.0);
            SetSkill(SkillName.MagicResist, 125.0);
            SetSkill(SkillName.Tactics, 130.0);
            SetSkill(SkillName.Wrestling, 130.0);
            SetSkill(SkillName.Meditation, 130.0);
            SetSkill(SkillName.Anatomy, 125.0);
            SetSkill(SkillName.DetectHidden, 120.0);
            SetSkill(SkillName.SpiritSpeak, 120);

            Fame  = 20000;
            Karma = -20000;

            VirtualArmor = 80;

            AddItem(new ThighBoots(1175));                 //black

            WildStaff staff = new WildStaff();

            staff.Movable = false;
            AddItem(staff);

            DragonHelm helm = new DragonHelm();

            helm.Resource = CraftResource.BlackScales;
            helm.Movable  = false;
            AddItem(helm);

            DragonChest chest = new DragonChest();

            chest.Resource = CraftResource.BlackScales;
            chest.Movable  = false;
            AddItem(chest);

            DragonArms arms = new DragonArms();

            arms.Resource = CraftResource.BlackScales;
            arms.Movable  = false;
            AddItem(arms);

            DragonGloves gloves = new DragonGloves();

            gloves.Resource = CraftResource.BlackScales;
            gloves.Movable  = false;
            AddItem(gloves);

            DragonLegs legs = new DragonLegs();

            legs.Resource = CraftResource.BlackScales;
            legs.Movable  = false;
            AddItem(legs);
        }
        public BaneChosenDragonRider()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.15, 0.4)
        {
            Name = "a bane chosen dragon rider";
            Body = 0x190;
            Hue  = Utility.RandomSkinHue();

            SetStr(576, 650);
            SetDex(226, 290);
            SetInt(126, 150);

            SetHits(676, 750);

            SetDamage(29, 34);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 45, 55);
            SetResistance(ResistanceType.Fire, 15, 25);
            SetResistance(ResistanceType.Cold, 50);
            SetResistance(ResistanceType.Poison, 25, 35);
            SetResistance(ResistanceType.Energy, 25, 35);


            SetSkill(SkillName.Tactics, 80.1, 100.0);
            SetSkill(SkillName.MagicResist, 100.1, 110.0);
            SetSkill(SkillName.Anatomy, 80.1, 100.0);
            SetSkill(SkillName.Magery, 85.1, 100.0);
            SetSkill(SkillName.EvalInt, 85.1, 100.0);
            SetSkill(SkillName.Swords, 72.5, 95.0);
            SetSkill(SkillName.Fencing, 85.1, 100);
            SetSkill(SkillName.Macing, 85.1, 100);

            Fame  = 18000;
            Karma = -18000;

            CraftResource res = CraftResource.BlackScales;

            BaseWeapon melee = null;

            switch (Utility.Random(3))
            {
            case 0: melee = new Kryss(); break;

            case 1: melee = new Broadsword(); break;

            case 2: melee = new Katana(); break;
            }

            melee.Movable = false;
            AddItem(melee);

            DragonChest Tunic = new DragonChest();

            Tunic.Resource = res;
            Tunic.Movable  = false;
            AddItem(Tunic);

            DragonLegs Legs = new DragonLegs();

            Legs.Resource = res;
            Legs.Movable  = false;
            AddItem(Legs);

            DragonArms Arms = new DragonArms();

            Arms.Resource = res;
            Arms.Movable  = false;
            AddItem(Arms);

            DragonGloves Gloves = new DragonGloves();

            Gloves.Resource = res;
            Gloves.Movable  = false;
            AddItem(Gloves);

            DragonHelm Helm = new DragonHelm();

            Helm.Resource = res;
            Helm.Movable  = false;
            AddItem(Helm);

            ChaosShield shield = new ChaosShield();

            shield.Movable = false;
            AddItem(shield);

            AddItem(new Boots(0x455));
            AddItem(new Shirt(Utility.RandomMetalHue()));

            /*int amount = Utility.RandomMinMax(1, 3);
             *
             * switch (res)
             * {
             *      case CraftResource.BlackScales: AddItem(new BlackScales(amount)); break;
             *      case CraftResource.RedScales: AddItem(new RedScales(amount)); break;
             *      case CraftResource.BlueScales: AddItem(new BlueScales(amount)); break;
             *      case CraftResource.YellowScales: AddItem(new YellowScales(amount)); break;
             *      case CraftResource.GreenScales: AddItem(new GreenScales(amount)); break;
             *      case CraftResource.WhiteScales: AddItem(new WhiteScales(amount)); break;
             * }
             * switch (Utility.Random(9))
             * {
             *      case 0: res = CraftResource.DullCopper; break;
             *      case 1: res = CraftResource.ShadowIron; break;
             *      case 2: res = CraftResource.Copper; break;
             *      case 3: res = CraftResource.Bronze; break;
             *      case 4: res = CraftResource.Gold; break;
             *      case 5: res = CraftResource.Agapite; break;
             *      case 6: res = CraftResource.Verite; break;
             *      case 7: res = CraftResource.Valorite; break;
             *      case 8: res = CraftResource.Iron; break;
             * }*/

            BaneDragon mt = new BaneDragon();

            mt.Rider = this;
        }
        public OborunianDrowSpiderTrainer() : base(AIType.AI_Melee, FightMode.Closest, 12, 1, 0.175, 0.350)
        {
            Name       = NameList.RandomName("elven female");
            Title      = "the oborunian spider trainer";
            Female     = true;
            Body       = 606;
            Hue        = 33840;
            HairItemID = 12240;
            HairHue    = 1153;

            SetStr(147, 205);
            SetDex(97, 114);
            SetInt(54, 147);

            SetHits(225, 350);

            SetDamage(1, 4);

            SetSkill(SkillName.MagicResist, 43.4, 60.2);
            SetSkill(SkillName.Ninjitsu, 100.0);
            SetSkill(SkillName.Tactics, 45.6, 54.4);
            SetSkill(SkillName.Wrestling, 50.7, 59.6);

            Circlet circlet = new Circlet();

            BaseRunicTool.ApplyAttributesTo(circlet, 5, 5, 35);
            circlet.Hue     = 1157;
            circlet.Movable = true;
            AddItem(circlet);

            WoodlandGorget gorget = new WoodlandGorget();

            BaseRunicTool.ApplyAttributesTo(gorget, 5, 5, 35);
            gorget.Hue     = 2075;
            gorget.Movable = true;
            AddItem(gorget);

            DrowSpiderCloak cloak = new DrowSpiderCloak();

            BaseRunicTool.ApplyAttributesTo(cloak, 5, 5, 35);
            cloak.Movable = true;
            AddItem(cloak);

            StuddedBustierArms bustier = new StuddedBustierArms();

            BaseRunicTool.ApplyAttributesTo(bustier, 5, 5, 35);
            bustier.Hue     = 2075;
            bustier.Movable = true;
            AddItem(bustier);

            DragonGloves gloves = new DragonGloves();

            gloves.Hue     = 2075;
            gloves.Movable = true;
            AddItem(gloves);

            WildStaff staff = new WildStaff();

            BaseRunicTool.ApplyAttributesTo(staff, 5, 5, 35);
            staff.Hue     = 2704;
            staff.Quality = WeaponQuality.Exceptional;
            staff.Movable = true;
            AddItem(staff);

            WoodlandBelt belt = new WoodlandBelt();

            BaseRunicTool.ApplyAttributesTo(belt, 5, 5, 35);
            belt.Hue     = 2075;
            belt.Movable = true;
            AddItem(belt);

            ThighBoots boots = new ThighBoots();

            BaseRunicTool.ApplyAttributesTo(boots, 5, 5, 35);
            boots.Hue     = 1883;
            boots.Movable = true;
            AddItem(boots);

            PackGold(212, 315);

            PackItem(new FishScale(Utility.RandomMinMax(6, 11)));

            Fame  = 2000;
            Karma = -2000;

            m_NextAbilityTime = DateTime.Now + TimeSpan.FromSeconds(Utility.RandomMinMax(2, 5));
        }
        public ChaosDragoonElite() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "a chaos dragoon elite";
            Body = 185;

            SetStr(276, 350);
            SetDex(66, 90);
            SetInt(126, 150);

            SetDamage(29, 34);

            SetDamageType(ResistanceType.Physical, 55);
            SetDamageType(ResistanceType.Fire, 25);
            SetDamageType(ResistanceType.Cold, 50);
            SetDamageType(ResistanceType.Poison, 35);
            SetDamageType(ResistanceType.Energy, 35);

            SetSkill(SkillName.Tactics, 80.1, 100.0);
            SetSkill(SkillName.MagicResist, 100.1, 110.0);
            SetSkill(SkillName.Anatomy, 80.1, 100.0);
            SetSkill(SkillName.Magery, 85.1, 100.0);
            SetSkill(SkillName.EvalInt, 85.1, 100.0);
            SetSkill(SkillName.MagicResist, 72.5, 95.0);
            SetSkill(SkillName.Swords, 72.5, 95.0);
            SetSkill(SkillName.Tactics, 72.5, 95.0);

            Fame  = 8000;
            Karma = -8000;

            switch (Utility.Random(6))
            {
            case 0: PackItem(new RedScales(Utility.RandomMinMax(1, 3))); break;

            case 1: PackItem(new YellowScales(Utility.RandomMinMax(1, 3))); break;

            case 2: PackItem(new BlackScales(Utility.RandomMinMax(1, 3))); break;

            case 3: PackItem(new GreenScales(Utility.RandomMinMax(1, 3))); break;

            case 4: PackItem(new WhiteScales(Utility.RandomMinMax(1, 3))); break;

            case 5: PackItem(new BlueScales(Utility.RandomMinMax(1, 3))); break;
            }

            DragonChest Tunic = new DragonChest();

            Tunic.Quality = ArmorQuality.Exceptional;
            Tunic.Movable = false;
            AddItem(Tunic);

            DragonLegs Legs = new DragonLegs();

            Legs.Quality = ArmorQuality.Exceptional;
            Legs.Movable = false;
            AddItem(Legs);

            DragonArms Arms = new DragonArms();

            Arms.Quality = ArmorQuality.Exceptional;
            Arms.Movable = false;
            AddItem(Arms);

            DragonGloves Gloves = new DragonGloves();

            Gloves.Quality = ArmorQuality.Exceptional;
            Gloves.Movable = false;
            AddItem(Gloves);

            DragonHelm Helm = new DragonHelm();

            Helm.Quality = ArmorQuality.Exceptional;
            Helm.Movable = false;
            AddItem(Helm);

            EquipItem(Loot.RandomWeapon());
            AddItem(new Boots(0x455));
            AddItem(new Shirt(Utility.RandomMetalHue()));
            EquipItem(new ChaosShield());

            new ScaledSwampDragon().Rider = this;
        }
Esempio n. 14
0
        public BloodKnight() : base(AIType.AI_Mage, FightMode.Weakest, 10, 1, 0.2, 0.4)
        {
            Name        = "Blood Knight";
            Title       = "";
            Hue         = Utility.RandomSkinHue();
            Body        = 400;
            SpeechHue   = 1153;
            BaseSoundID = 0;
            Team        = 0;

            SetStr(275, 375);
            SetDex(40, 75);
            SetInt(300, 350);

            SetHits(230, 375);
            SetMana(300, 350);

            SetDamage(10, 15);

            SetDamageType(ResistanceType.Physical, 80);
            SetDamageType(ResistanceType.Energy, 20);

            SetResistance(ResistanceType.Physical, 50, 55);
            SetResistance(ResistanceType.Cold, 40, 45);
            SetResistance(ResistanceType.Poison, 40, 45);
            SetResistance(ResistanceType.Energy, 20, 25);

            SetSkill(SkillName.Wrestling, 100.2, 100.6);
            SetSkill(SkillName.Tactics, 100.7, 100.4);
            SetSkill(SkillName.Anatomy, 100.5, 100.3);
            SetSkill(SkillName.MagicResist, 110.4, 110.7);
            SetSkill(SkillName.Magery, 120.4, 120.7);
            SetSkill(SkillName.Swords, 130.4, 130.7);
            SetSkill(SkillName.EvalInt, 130.4, 130.7);

            Fame  = 6300;
            Karma = -10000;

            VirtualArmor = 45;

            Item PaladinSword = new PaladinSword();

            PaladinSword.Movable = false;
            PaladinSword.Hue     = 2403;
            EquipItem(PaladinSword);

            Item DragonLegs = new DragonLegs();

            DragonLegs.Movable = false;
            DragonLegs.Hue     = 1175;
            EquipItem(DragonLegs);

            Item DragonChest = new DragonChest();

            DragonChest.Movable = false;
            DragonChest.Hue     = 1175;
            EquipItem(DragonChest);

            Item DragonGloves = new DragonGloves();

            DragonGloves.Movable = false;
            DragonGloves.Hue     = 1175;
            EquipItem(DragonGloves);

            Item DragonHelm = new DragonHelm();

            DragonHelm.Movable = false;
            DragonHelm.Hue     = 1175;
            EquipItem(DragonHelm);

            Item PlateGorget = new PlateGorget();

            PlateGorget.Movable = false;
            PlateGorget.Hue     = 1175;
            EquipItem(PlateGorget);

            Item DragonArms = new DragonArms();

            DragonArms.Movable = false;
            DragonArms.Hue     = 1175;
            EquipItem(DragonArms);

            Item Sandals = new Sandals();

            Sandals.Movable = false;
            Sandals.Hue     = 1175;
            EquipItem(Sandals);

            Item hair = new Item(0x203B);

            hair.Hue     = 1109;
            hair.Layer   = Layer.Hair;
            hair.Movable = false;
            AddItem(hair);

            PackGold(220, 480);
            PackMagicItems(3, 7);

            if (Utility.Random(15) == 0)
            {
                PackItem(new BloodRuby());
            }
        }
Esempio n. 15
0
        public ChaosDragoonElite()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.15, 0.4)
        {
            Name = "a chaos dragoon elite";
            Body = 0x190;
            Hue  = Utility.RandomSkinHue();

            SetStr(276, 350);
            SetDex(66, 90);
            SetInt(126, 150);

            SetHits(276, 350);

            SetDamage(29, 34);

            SetDamageType(ResistanceType.Physical, 100);

            /*SetResistance(ResistanceType.Physical, 45, 55);
             * SetResistance(ResistanceType.Fire, 15, 25);
             * SetResistance(ResistanceType.Cold, 50);
             * SetResistance(ResistanceType.Poison, 25, 35);
             * SetResistance(ResistanceType.Energy, 25, 35);*/

            SetSkill(SkillName.Tactics, 80.1, 100.0);
            SetSkill(SkillName.MagicResist, 100.1, 110.0);
            SetSkill(SkillName.Anatomy, 80.1, 100.0);
            SetSkill(SkillName.Magery, 85.1, 100.0);
            SetSkill(SkillName.EvalInt, 85.1, 100.0);
            SetSkill(SkillName.Swords, 72.5, 95.0);
            SetSkill(SkillName.Fencing, 85.1, 100);
            SetSkill(SkillName.Macing, 85.1, 100);

            Fame  = 8000;
            Karma = -8000;

            CraftResource res = CraftResource.None;

            switch (Utility.Random(6))
            {
            case 0:
                res = CraftResource.BlackScales;
                break;

            case 1:
                res = CraftResource.RedScales;
                break;

            case 2:
                res = CraftResource.BlueScales;
                break;

            case 3:
                res = CraftResource.YellowScales;
                break;

            case 4:
                res = CraftResource.GreenScales;
                break;

            case 5:
                res = CraftResource.WhiteScales;
                break;
            }

            BaseWeapon melee = null;

            switch (Utility.Random(3))
            {
            case 0:
                melee = new Kryss();
                break;

            case 1:
                melee = new Broadsword();
                break;

            case 2:
                melee = new Katana();
                break;
            }

            if (melee != null)
            {
                melee.Movable = false;
                AddItem(melee);
            }

            DragonChest tunic = new DragonChest
            {
                Resource = res,
                Movable  = false
            };

            AddItem(tunic);

            DragonLegs legs = new DragonLegs
            {
                Resource = res,
                Movable  = false
            };

            AddItem(legs);

            DragonArms arms = new DragonArms
            {
                Resource = res,
                Movable  = false
            };

            AddItem(arms);

            DragonGloves gloves = new DragonGloves
            {
                Resource = res,
                Movable  = false
            };

            AddItem(gloves);

            DragonHelm helm = new DragonHelm
            {
                Resource = res,
                Movable  = false
            };

            AddItem(helm);

            ChaosShield shield = new ChaosShield
            {
                Movable = false
            };

            AddItem(shield);

            AddItem(new Boots(0x455));
            AddItem(new Shirt(Utility.RandomMetalHue()));

            int amount = Utility.RandomMinMax(1, 3);

            switch (res)
            {
            case CraftResource.BlackScales:
                AddItem(new BlackScales(amount));
                break;

            case CraftResource.RedScales:
                AddItem(new RedScales(amount));
                break;

            case CraftResource.BlueScales:
                AddItem(new BlueScales(amount));
                break;

            case CraftResource.YellowScales:
                AddItem(new YellowScales(amount));
                break;

            case CraftResource.GreenScales:
                AddItem(new GreenScales(amount));
                break;

            case CraftResource.WhiteScales:
                AddItem(new WhiteScales(amount));
                break;
            }
            switch (Utility.Random(9))
            {
            case 0:
                res = CraftResource.DullCopper;
                break;

            case 1:
                res = CraftResource.ShadowIron;
                break;

            case 2:
                res = CraftResource.Copper;
                break;

            case 3:
                res = CraftResource.Bronze;
                break;

            case 4:
                res = CraftResource.Gold;
                break;

            case 5:
                res = CraftResource.Agapite;
                break;

            case 6:
                res = CraftResource.Verite;
                break;

            case 7:
                res = CraftResource.Valorite;
                break;

            case 8:
                res = CraftResource.Iron;
                break;
            }

            SwampDragon mt = new SwampDragon
            {
                HasBarding      = true,
                BardingResource = res
            };

            mt.BardingHP = mt.BardingMaxHP;
            mt.Rider     = this;

            SetSpecialAbility(SpecialAbility.DragonBreath);
        }