Example #1
0
        public KhaldunZealot() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body  = 0x190;
            Name  = "Zealot of Khaldun";
            Title = "the Knight";
            Hue   = 0;

            SetStr(351, 400);
            SetDex(151, 165);
            SetInt(76, 100);

            SetHits(448, 470);

            SetDamage(15, 25);

            SetDamageType(ResistanceType.Physical, 75);
            SetDamageType(ResistanceType.Cold, 25);

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

            SetSkill(SkillName.Wrestling, 70.1, 80.0);
            SetSkill(SkillName.Swords, 120.1, 130.0);
            SetSkill(SkillName.Anatomy, 120.1, 130.0);
            SetSkill(SkillName.MagicResist, 90.1, 100.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);

            Fame         = 10000;
            Karma        = -10000;
            VirtualArmor = 40;

            VikingSword weapon = new VikingSword();

            weapon.Hue     = 0x835;
            weapon.Movable = false;
            AddItem(weapon);

            MetalShield shield = new MetalShield();

            shield.Hue     = 0x835;
            shield.Movable = false;
            AddItem(shield);

            BoneHelm helm = new BoneHelm();

            helm.Hue = 0x835;
            AddItem(helm);

            BoneArms arms = new BoneArms();

            arms.Hue = 0x835;
            AddItem(arms);

            BoneGloves gloves = new BoneGloves();

            gloves.Hue = 0x835;
            AddItem(gloves);

            BoneChest tunic = new BoneChest();

            tunic.Hue = 0x835;
            AddItem(tunic);

            BoneLegs legs = new BoneLegs();

            legs.Hue = 0x835;
            AddItem(legs);

            AddItem(new Boots());
        }
        public CaptainJackSparrow() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body  = 0x190;
            Name  = "Captain Jack Sparrow";
            Title = "Dread Pirate";
            Hue   = 0;

            SetStr(351, 400);
            SetDex(151, 165);
            SetInt(76, 100);

            SetHits(1500, 1700);

            SetDamage(25, 35);

            SetDamageType(ResistanceType.Physical, 100);
            SetDamageType(ResistanceType.Cold, 25);

            SetResistance(ResistanceType.Physical, 65);
            SetResistance(ResistanceType.Fire, 30);
            SetResistance(ResistanceType.Cold, 60);
            SetResistance(ResistanceType.Poison, 35);
            SetResistance(ResistanceType.Energy, 25, 35);

            SetSkill(SkillName.Wrestling, 100.0);
            SetSkill(SkillName.Swords, 120.1, 130.0);
            SetSkill(SkillName.Anatomy, 120.1, 130.0);
            SetSkill(SkillName.MagicResist, 90.1, 100.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);

            Fame  = 10000;
            Karma = -10000;

            VirtualArmor = 65;

            Cutlass weapon = new Cutlass();

            weapon.Hue     = 0x835;
            weapon.Movable = false;
            AddItem(weapon);

            MetalShield shield = new MetalShield();

            shield.Hue     = 0x835;
            shield.Movable = false;
            AddItem(shield);

            TricorneHat hat = new TricorneHat();

            hat.Hue = 0x835;
            AddItem(hat);

            BoneArms arms = new BoneArms();

            arms.Hue = 0x835;
            AddItem(arms);

            BoneGloves gloves = new BoneGloves();

            gloves.Hue = 0x835;
            AddItem(gloves);

            BoneChest tunic = new BoneChest();

            tunic.Hue = 0x835;
            AddItem(tunic);

            BoneLegs legs = new BoneLegs();

            legs.Hue = 0x835;
            AddItem(legs);

            AddItem(new Boots());
            PackGold(1500, 2000);

            /*switch (Utility.Random(6))
             * {
             *  case 0: PackItem(new DreadPirateHat()); break;
             *  case 1: PackItem(new ShipModelOfTheHMSCape()); break;
             *  case 2: PackItem(new CaptainJackSparrowsCutlass()); break;
             *
             * }*/
        }
Example #3
0
        public KhaldunZealot() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body  = 0x190;
            Title = "the Knight";
            Hue   = 0;

            SetStr(767, 945);
            SetDex(66, 75);
            SetInt(46, 70);

            SetHits(476, 552);

            SetDamage(20, 25);

            SetSkill(SkillName.Wrestling, 70.1, 80.0);
            SetSkill(SkillName.Swords, 120.1, 130.0);
            SetSkill(SkillName.Anatomy, 120.1, 130.0);
            SetSkill(SkillName.MagicResist, 125.1, 140.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);

            Fame         = 10000;
            Karma        = -10000;
            VirtualArmor = 40;

            VikingSword weapon = new VikingSword();

            weapon.Hue        = 0x835;
            weapon.Identified = true;
            weapon.Movable    = false;
            AddItem(Immovable(weapon));

            MetalShield shield = new MetalShield();

            shield.Hue        = 0x835;
            shield.Identified = true;
            shield.Movable    = false;
            AddItem(Immovable(shield));

            BoneHelm helm = new BoneHelm();

            helm.Hue        = 0x835;
            helm.Identified = true;
            AddItem(Immovable(helm));

            BoneArms arms = new BoneArms();

            arms.Hue        = 0x835;
            arms.Identified = true;
            AddItem(Immovable(arms));

            BoneGloves gloves = new BoneGloves();

            gloves.Hue        = 0x835;
            gloves.Identified = true;
            AddItem(Immovable(gloves));

            BoneChest tunic = new BoneChest();

            tunic.Hue        = 0x835;
            tunic.Identified = true;
            AddItem(Immovable(tunic));

            BoneLegs legs = new BoneLegs();

            legs.Hue        = 0x835;
            legs.Identified = true;
            AddItem(Immovable(legs));

            AddItem(new Boots());
        }
Example #4
0
        public void ChooseArmor(ArmorClass ac, CraftResource res, ArmorQuality qual)
        {
            BaseArmor tete   = null;
            BaseArmor gorget = null;
            BaseArmor bras   = null;
            BaseArmor mains  = null;
            BaseArmor torse  = null;
            BaseArmor jambes = null;

            switch (ac)
            {
            case ArmorClass.Cuir:
                tete   = new LeatherCap();
                gorget = new LeatherGorget();
                bras   = new LeatherArms();
                mains  = new LeatherGloves();
                torse  = new LeatherChest();
                jambes = new LeatherLegs();
                break;

            case ArmorClass.Cloute:
                tete   = new LeatherCap();
                gorget = new StuddedGorget();
                bras   = new StuddedArms();
                mains  = new StuddedGloves();
                torse  = new StuddedChest();
                jambes = new StuddedLegs();
                break;

            case ArmorClass.Os:
                tete   = new BoneHelm();
                gorget = new StuddedGorget();
                bras   = new BoneArms();
                mains  = new BoneGloves();
                torse  = new BoneChest();
                jambes = new BoneLegs();
                break;

            case ArmorClass.Plaque:
                tete   = new PlateHelm();
                gorget = new PlateGorget();
                bras   = new PlateArms();
                mains  = new PlateGloves();
                torse  = new PlateChest();
                jambes = new PlateLegs();
                break;

            case ArmorClass.PlaqueLourde:
                tete   = new ArmureDaedricHelm();
                gorget = new ArmureDaedricGorget();
                bras   = new ArmureDaedricGreaves();
                mains  = new ArmureDaedricGloves();
                torse  = new ArmureDaedricTunic();
                jambes = new ArmureDaedricLeggings();
                break;
            }

            if (tete != null)
            {
                tete.Resource = res;
                tete.Quality  = qual;
                AddItem(tete);
            }
            if (gorget != null)
            {
                gorget.Resource = res;
                gorget.Quality  = qual;
                AddItem(gorget);
            }
            if (bras != null)
            {
                bras.Resource = res;
                bras.Quality  = qual;
                AddItem(bras);
            }
            if (mains != null)
            {
                mains.Resource = res;
                mains.Quality  = qual;
                AddItem(mains);
            }
            if (torse != null)
            {
                torse.Resource = res;
                torse.Quality  = qual;
                AddItem(torse);
            }
            if (jambes != null)
            {
                jambes.Resource = res;
                jambes.Quality  = qual;
                AddItem(jambes);
            }
        }
Example #5
0
        public KhaldunZealot() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body  = 0x190;
            Name  = "Zealot of Khaldun";
            Title = "the Knight";
            Hue   = 0;

            SetStr(75);
            SetDex(75);
            SetInt(25);

            SetHits(500);

            SetDamage(15, 25);

            SetSkill(SkillName.Swords, 90);
            SetSkill(SkillName.Tactics, 100);

            SetSkill(SkillName.MagicResist, 100);

            SetSkill(SkillName.Parry, 25);

            VirtualArmor = 25;

            Fame  = 10000;
            Karma = -10000;

            VikingSword weapon = new VikingSword();

            weapon.Hue     = 0x835;
            weapon.Movable = false;
            AddItem(weapon);

            MetalShield shield = new MetalShield();

            shield.Hue     = 0x835;
            shield.Movable = false;
            AddItem(shield);

            BoneHelm helm = new BoneHelm();

            helm.Hue = 0x835;
            AddItem(helm);

            BoneArms arms = new BoneArms();

            arms.Hue = 0x835;
            AddItem(arms);

            BoneGloves gloves = new BoneGloves();

            gloves.Hue = 0x835;
            AddItem(gloves);

            BoneChest tunic = new BoneChest();

            tunic.Hue = 0x835;
            AddItem(tunic);
            BoneLegs legs = new BoneLegs();

            legs.Hue = 0x835;
            AddItem(legs);

            AddItem(new Boots());
        }
Example #6
0
        public Zombie() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.45, 0.8)
        {
            Body = 3;
            Name = "a zombie";
            SetStr(46, 70);
            SetHits(46, 70);
            SetDex(31, 50);
            SetStam(31, 50);
            SetInt(26, 40);
            SetMana(26, 40);
            Karma = -125;

            BaseSoundID = 471;
            SetSkill(SkillName.Tactics, 35.1, 50);
            SetSkill(SkillName.MagicResist, 15.1, 40);
            SetSkill(SkillName.Parry, 20.1, 30);
            SetSkill(SkillName.Wrestling, 35.1, 50);

            VirtualArmor = 9;
            SetDamage(2, 8);

            Item item = null;

            LootPack.Poor.Generate(this);
            if (Utility.RandomBool())
            {
                PackGold(5, 25);
            }
            if (Utility.RandomBool())
            {
                PackGem();
            }
            switch (Utility.Random(10))
            {
            case 0:
            {
                item = new BoneChest();
                break;
            }

            case 1:
            {
                item = new BoneLegs();
                break;
            }

            case 2:
            {
                item = new BoneArms();
                break;
            }

            case 3:
            {
                item = new BoneGloves();
                break;
            }

            case 4:
            {
                item = new BoneHelm();
                break;
            }
            }
            PackItem(item);
        }
Example #7
0
        public ManOfSin() : base(AIType.AI_Melee, FightMode.None, 10, 1, 0.2, 0.4)
        {
            Title       = "Power Of Darkness";
            Name        = "Lucifer";
            Body        = 0x190;
            BaseSoundID = 0x165;
            Hue         = 1194;

            Item BoneGloves = new BoneGloves();

            BoneGloves.Hue      = 1194;
            BoneGloves.LootType = LootType.Blessed;
            BoneGloves.Movable  = false;
            AddItem(BoneGloves);

            Item BoneChest = new BoneChest();

            BoneChest.Hue      = 1194;
            BoneChest.LootType = LootType.Blessed;
            BoneChest.Movable  = false;
            AddItem(BoneChest);

            Item BoneArms = new BoneArms();

            BoneArms.Hue      = 1194;
            BoneArms.LootType = LootType.Blessed;
            BoneArms.Movable  = false;
            AddItem(BoneArms);

            Item BoneHelm = new BoneHelm();

            BoneHelm.Hue      = 1194;
            BoneHelm.LootType = LootType.Blessed;
            BoneHelm.Movable  = false;
            AddItem(BoneHelm);

            Item LongPants = new LongPants();

            LongPants.Hue      = 1194;
            LongPants.LootType = LootType.Blessed;
            LongPants.Movable  = false;
            AddItem(LongPants);

            Item FancyShirt = new FancyShirt();

            FancyShirt.Hue      = 1194;
            FancyShirt.LootType = LootType.Blessed;
            FancyShirt.Movable  = false;
            AddItem(FancyShirt);

            Item Boots = new Boots();

            Boots.Hue      = 1;
            Boots.LootType = LootType.Blessed;
            Boots.Movable  = false;
            AddItem(Boots);

            Item DeathAxe = new DeathAxe();

            DeathAxe.Hue      = 1194;
            DeathAxe.LootType = LootType.Blessed;
            DeathAxe.Movable  = false;
            AddItem(DeathAxe);

            SetStr(300, 450);
            SetDex(150, 300);
            SetInt(420, 420);

            SetHits(10000, 15000);

            SetDamage(20, 28);

            SetDamageType(ResistanceType.Physical, 100);
            SetDamageType(ResistanceType.Cold, 100);
            SetDamageType(ResistanceType.Fire, 100);
            SetDamageType(ResistanceType.Energy, 100);
            SetDamageType(ResistanceType.Poison, 100);

            SetResistance(ResistanceType.Physical, 100);
            SetResistance(ResistanceType.Cold, 100);
            SetResistance(ResistanceType.Fire, 100);
            SetResistance(ResistanceType.Energy, 100);
            SetResistance(ResistanceType.Poison, 100);

            SetSkill(SkillName.Anatomy, 99.0, 100.0);
            SetSkill(SkillName.EvalInt, 99.0, 100.0);
            SetSkill(SkillName.Magery, 99.0, 100.0);
            SetSkill(SkillName.MagicResist, 99.0, 100.0);
            SetSkill(SkillName.Swords, 99.0, 100.0);
            SetSkill(SkillName.Tactics, 99.0, 100.0);
            SetSkill(SkillName.Lumberjacking, 99.0, 100.0);

            Fame  = -15000;
            Karma = -15000;

            VirtualArmor = 35;


            PackItem(new Gold(50, 60));

            new SkeletalMount().Rider = this;
        }
Example #8
0
        public Dracolich() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = NameList.RandomName("dragon");
            Title       = "the dracolich";
            Body        = 104;
            BaseSoundID = 0x488;

            SetStr(898, 1030);
            SetDex(68, 200);
            SetInt(488, 620);

            SetHits(558, 599);

            SetDamage(29, 35);

            SetDamageType(ResistanceType.Physical, 75);
            SetDamageType(ResistanceType.Fire, 25);

            SetResistance(ResistanceType.Physical, 75, 80);
            SetResistance(ResistanceType.Fire, 40, 60);
            SetResistance(ResistanceType.Cold, 40, 60);
            SetResistance(ResistanceType.Poison, 70, 80);
            SetResistance(ResistanceType.Energy, 40, 60);

            SetSkill(SkillName.EvalInt, 80.1, 100.0);
            SetSkill(SkillName.Magery, 80.1, 100.0);
            SetSkill(SkillName.MagicResist, 100.3, 130.0);
            SetSkill(SkillName.Tactics, 97.6, 100.0);
            SetSkill(SkillName.Wrestling, 97.6, 100.0);

            Fame  = 22500;
            Karma = -22500;

            VirtualArmor = 80;

            PackNecroReg(12, 40);
            PackNecroReg(12, 40);

            Item dracoItem = null;

            switch (Utility.RandomMinMax(0, 2))
            {
            case 0: dracoItem = Loot.RandomWeapon(false); MorphingItem.MorphMyItem(dracoItem, "IGNORED", "Dracolich", "IGNORED", MorphingTemplates.TemplateDracolich("weapons")); PackItem(dracoItem); break;

            case 1: dracoItem = Loot.RandomJewelry(); MorphingItem.MorphMyItem(dracoItem, "IGNORED", "Dracolich", "IGNORED", MorphingTemplates.TemplateDracolich("misc")); PackItem(dracoItem); break;

            case 2:
                switch (Utility.RandomMinMax(0, 6))
                {
                case 0: dracoItem = new BoneLegs(); MorphingItem.MorphMyItem(dracoItem, "IGNORED", "IGNORED", "Dracolich Leggings", MorphingTemplates.TemplateDracolich("armors")); PackItem(dracoItem); break;

                case 1: dracoItem = new BoneGloves(); MorphingItem.MorphMyItem(dracoItem, "IGNORED", "IGNORED", "Dracolich Gloves", MorphingTemplates.TemplateDracolich("armors")); PackItem(dracoItem); break;

                case 2: dracoItem = new BoneArms(); MorphingItem.MorphMyItem(dracoItem, "IGNORED", "IGNORED", "Dracolich Arms", MorphingTemplates.TemplateDracolich("armors")); PackItem(dracoItem); break;

                case 3: dracoItem = new BoneChest(); MorphingItem.MorphMyItem(dracoItem, "IGNORED", "IGNORED", "Dracolich Tunic", MorphingTemplates.TemplateDracolich("armors")); PackItem(dracoItem); break;

                case 4: dracoItem = new BoneSkirt(); MorphingItem.MorphMyItem(dracoItem, "IGNORED", "IGNORED", "Dracolich Tunic", MorphingTemplates.TemplateDracolich("armors")); PackItem(dracoItem); break;

                case 5: dracoItem = new OrcHelm(); MorphingItem.MorphMyItem(dracoItem, "IGNORED", "IGNORED", "Dracolich Helm", MorphingTemplates.TemplateDracolich("armors")); PackItem(dracoItem); break;

                case 6: dracoItem = new WoodenShield(); MorphingItem.MorphMyItem(dracoItem, "IGNORED", "IGNORED", "Dracolich Shield", MorphingTemplates.TemplateDracolich("armors")); PackItem(dracoItem); break;
                }
                break;
            }
        }
Example #9
0
        public Urk() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            BaseSoundID      = 0x45A;
            Hue              = 0x430;
            Body             = 0x190;
            Name             = NameList.RandomName("urk");
            HairItemID       = 0;
            FacialHairItemID = 0;

            Item helm = new WornHumanDeco();

            helm.Name   = "urkish face";
            helm.ItemID = 0x141B;
            helm.Hue    = 0x430;
            helm.Layer  = Layer.Helm;
            AddItem(helm);

            if (Utility.RandomMinMax(1, 2) == 1)
            {
                LeatherArms ratarms = new LeatherArms();
                ratarms.Name        = "urkish rat skin arms";
                ratarms.PoisonBonus = 6;
                ratarms.Hue         = 0x972;
                AddItem(ratarms);

                LeatherChest ratchest = new LeatherChest();
                ratchest.Name        = "urkish rat skin tunic";
                ratchest.PoisonBonus = 8;
                ratchest.Hue         = 0x972;
                AddItem(ratchest);

                LeatherGloves ratgloves = new LeatherGloves();
                ratgloves.Name        = "urkish rat skin gloves";
                ratgloves.PoisonBonus = 5;
                ratgloves.Hue         = 0x972;
                AddItem(ratgloves);

                LeatherGorget ratgorget = new LeatherGorget();
                ratgorget.Name        = "urkish rat skin gorget";
                ratgorget.PoisonBonus = 4;
                ratgorget.Hue         = 0x972;
                AddItem(ratgorget);

                LeatherLegs ratlegs = new LeatherLegs();
                ratlegs.Name        = "urkish rat skin leggings";
                ratlegs.PoisonBonus = 7;
                ratlegs.Hue         = 0x972;
                AddItem(ratlegs);
            }
            else
            {
                BoneChest bonechest = new BoneChest();
                bonechest.Name        = "urkish chest piece";
                bonechest.PoisonBonus = 8;
                bonechest.Hue         = 0x972;
                AddItem(bonechest);

                BoneArms bonearms = new BoneArms();
                bonearms.Name        = "urkish bracers";
                bonearms.PoisonBonus = 6;
                bonearms.Hue         = 0x972;
                AddItem(bonearms);

                BoneLegs bonelegs = new BoneLegs();
                bonelegs.Name        = "urkish leggings";
                bonelegs.PoisonBonus = 7;
                bonelegs.Hue         = 0x972;
                AddItem(bonelegs);

                BoneGloves bonegloves = new BoneGloves();
                bonegloves.Name        = "urkish gauntlets";
                bonegloves.PoisonBonus = 5;
                bonegloves.Hue         = 0x972;
                AddItem(bonegloves);
            }

            Item weapon = new BattleAxe();

            switch (Utility.Random(28))
            {
            case 0: weapon = new BattleAxe(); weapon.Name = "battle axe"; break;

            case 1: weapon = new VikingSword(); weapon.Name = "great sword"; break;

            case 2: weapon = new Halberd(); weapon.Name = "halberd"; break;

            case 3: weapon = new DoubleAxe(); weapon.Name = "double axe"; break;

            case 4: weapon = new ExecutionersAxe(); weapon.Name = "great axe"; break;

            case 5: weapon = new WarAxe(); weapon.Name = "war axe"; break;

            case 6: weapon = new TwoHandedAxe(); weapon.Name = "two handed axe"; break;

            case 7: weapon = new Cutlass(); weapon.Name = "cutlass"; break;

            case 8: weapon = new Katana(); weapon.Name = "katana"; break;

            case 9: weapon = new Kryss(); weapon.Name = "kryss"; break;

            case 10: weapon = new Broadsword(); weapon.Name = "broadsword"; break;

            case 11: weapon = new Longsword(); weapon.Name = "longsword"; break;

            case 12: weapon = new ThinLongsword(); weapon.Name = "longsword"; break;

            case 13: weapon = new Scimitar(); weapon.Name = "scimitar"; break;

            case 14: weapon = new BoneHarvester(); weapon.Name = "sickle"; break;

            case 15: weapon = new CrescentBlade(); weapon.Name = "crescent blade"; break;

            case 16: weapon = new DoubleBladedStaff(); weapon.Name = "double bladed staff"; break;

            case 17: weapon = new Pike(); weapon.Name = "pike"; break;

            case 18: weapon = new Scythe(); weapon.Name = "scythe"; break;

            case 19: weapon = new Pitchfork(); weapon.Name = "trident"; break;

            case 20: weapon = new ShortSpear(); weapon.Name = "short spear"; break;

            case 21: weapon = new Spear(); weapon.Name = "spear"; break;

            case 22: weapon = new Club(); weapon.Name = "club"; break;

            case 23: weapon = new HammerPick(); weapon.Name = "hammer pick"; break;

            case 24: weapon = new Mace(); weapon.Name = "mace"; break;

            case 25: weapon = new Maul(); weapon.Name = "maul"; break;

            case 26: weapon = new WarHammer(); weapon.Name = "war hammer"; break;

            case 27: weapon = new WarMace(); weapon.Name = "war mace"; break;
            }

            weapon.Name = "urkish " + weapon.Name;
            weapon.Hue  = 0x7D1;
            ((BaseWeapon)weapon).AosElementDamages.Physical = 60;
            ((BaseWeapon)weapon).AosElementDamages.Poison   = 40;
            AddItem(weapon);

            switch (Utility.RandomMinMax(0, 5))
            {
            case 0: Title = "the urk warrior"; break;

            case 1: Title = "the urk savage"; break;

            case 2: Title = "the urk barbarian"; break;

            case 3: Title = "the urk fighter"; break;

            case 4: Title = "the urk gladiator"; break;

            case 5: Title = "the urk berserker"; break;
            }

            SetStr(196, 250);
            SetDex(76, 95);
            SetInt(36, 60);

            SetHits(118, 150);

            SetDamage(8, 18);

            SetDamageType(ResistanceType.Physical, 60);
            SetDamageType(ResistanceType.Poison, 40);

            SetResistance(ResistanceType.Physical, 35, 45);
            SetResistance(ResistanceType.Fire, 20, 30);
            SetResistance(ResistanceType.Cold, 50, 60);
            SetResistance(ResistanceType.Poison, 60, 80);
            SetResistance(ResistanceType.Energy, 30, 40);

            SetSkill(SkillName.MagicResist, 65.1, 80.0);
            SetSkill(SkillName.Tactics, 85.1, 100.0);
            SetSkill(SkillName.Macing, 85.1, 95.0);
            SetSkill(SkillName.Swords, 85.1, 95.0);
            SetSkill(SkillName.Fencing, 85.1, 95.0);
            SetSkill(SkillName.Wrestling, 85.1, 95.0);

            Fame  = 3000;
            Karma = -3000;

            VirtualArmor = 40;
        }
Example #10
0
        public MugdarWarlord() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.01, 0.005)
        {
            Name        = NameList.RandomName("orc");
            Body        = 0x190;
            BaseSoundID = 0x45A;
            Title       = "the Mugdar Clan War Chieftain";
            Hue         = Utility.RandomMinMax(2401, 2406);

            SetStr(96, 120);
            SetDex(450, 500);
            SetInt(36, 60);

            SetHits(200, 300);

            SetDamage(5, 7);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 25, 30);
            SetResistance(ResistanceType.Fire, 20, 30);
            SetResistance(ResistanceType.Cold, 10, 20);
            SetResistance(ResistanceType.Poison, 10, 20);
            SetResistance(ResistanceType.Energy, 20, 30);

            SetSkill(SkillName.MagicResist, 50.1, 75.0);
            SetSkill(SkillName.Tactics, 55.1, 80.0);
            SetSkill(SkillName.Wrestling, 50.1, 70.0);
            SetSkill(SkillName.Macing, 50.1, 70.0);
            SetSkill(SkillName.Fencing, 50.1, 70.0);

            Fame  = 0;
            Karma = 0;

            VirtualArmor = 28;

            OrcishKinMask helm = new OrcishKinMask();

            helm.Hue = this.Hue;
            AddItem(helm);

            WarHammer warhammer = new WarHammer();

            warhammer.Hue = 0;
            AddItem(warhammer);

            BoneLegs bonelegs = new BoneLegs();

            bonelegs.Hue = 0;
            AddItem(bonelegs);

            BoneChest bonechest = new BoneChest();

            bonechest.Hue = 0;
            AddItem(bonechest);

            BoneArms bonearms = new BoneArms();

            bonearms.Hue = 0;
            AddItem(bonearms);

            BoneGloves bonegloves = new BoneGloves();

            bonegloves.Hue = 0;
            AddItem(bonegloves);

            Sandals sandals = new Sandals();

            sandals.Hue = 0;
            AddItem(sandals);
        }