public GuardiaGranadaArquero()
            : base(AIType.AI_Archer)
        {
            SetStr(100, 150);
            SetDex(100, 150);
            SetInt(100, 150);

            SetHits(80, 180);
            SetMana(60);

            if (Utility.RandomBool())
            {
                new Horse().Rider = this;
            }

            SetResistance(ResistanceType.Physical, 50, 120);
            SetResistance(ResistanceType.Fire, 50, 120);
            SetResistance(ResistanceType.Cold, 50, 120);
            SetResistance(ResistanceType.Poison, 50, 120);

            SetSkill(SkillName.MagicResist, 80.0, 120.0);
            SetSkill(SkillName.Tactics, 80.0, 120.0);
            SetSkill(SkillName.Anatomy, 80.0, 120.0);
            SetSkill(SkillName.Healing, 80.0, 120.0);
            SetSkill(SkillName.Archery, 80.0, 120.0);
            SetSkill(SkillName.Fencing, 80.0, 120.0);

            Fame  = 1000;
            Karma = 10000;

            VirtualArmor = 16;

            AddItem(new Boots(2108));
            AddItem(new Cloak(2108));
            PackItem(new Dagger());
            PlateChest chest = new PlateChest();

            chest.Hue = 2108;
            AddItem(chest);
            PlateGorget gorget = new PlateGorget();

            gorget.Hue = 2108;
            AddItem(gorget);
            PlateLegs legs = new PlateLegs();

            legs.Hue = 2108;
            AddItem(legs);
            PlateArms arms = new PlateArms();

            arms.Hue = 2108;
            AddItem(arms);
            PlateGloves gloves = new PlateGloves();

            gloves.Hue = 2108;
            AddItem(gloves);
            AddItem(new Bandage(20));


            switch (Utility.Random(2))
            {
            case 0: AddItem(new CompositeBow());
                AddItem(new Arrow(50));
                SetDamage(5, 20);
                currentweapon = 2;
                break;

            case 1: AddItem(new HeavyCrossbow());
                AddItem(new Bolt(50));
                SetDamage(18, 30);
                currentweapon = 4;
                break;
            }
        }
Ejemplo n.º 2
0
        public Paladin() : base(AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.36, 0.56)
        {
            Female = Utility.RandomBool();
            Body   = Female ? 401 : 400;
            Title  = "the paladin";
            Name   = NameList.RandomName(Female ? "female" : "male");
            Hue    = Utility.RandomSkinHue();
            SetStr(64, 92);
            SetDex(46, 88);
            SetInt(37, 49);
            Karma = Utility.RandomMinMax(33, -25);


            SetSkill(SkillName.Tactics, 55, 77.5);
            SetSkill(SkillName.MagicResist, 55, 77.5);
            SetSkill(SkillName.Parry, 55, 77.5);
            SetSkill(SkillName.Swords, 55, 77.5);
            SetSkill(SkillName.Macing, 55, 77.5);
            SetSkill(SkillName.Fencing, 55, 77.5);
            SetSkill(SkillName.Wrestling, 55, 77.5);
            SetSkill(SkillName.ArmsLore, 52.5, 75);


            Item item = null;

            if (!Female)
            {
                int hairHue = Utility.RandomHairHue();
                Utility.AssignRandomHair(this, hairHue);
                Utility.AssignRandomFacialHair(this, hairHue);
                item = new PlateChest();
                AddItem(item);
                item = new PlateLegs();
                AddItem(item);
                item = new PlateArms();
                AddItem(item);
                item = new PlateGloves();
                AddItem(item);
                item = new PlateGorget();
                AddItem(item);
                switch (Utility.Random(5))
                {
                case 0: item = new PlateHelm(); break;

                case 1: item = new Helmet(); break;

                case 2: item = new CloseHelm(); break;

                case 3: item = new Bascinet(); break;

                case 4:
                default: item = new NorseHelm(); break;
                }
                AddItem(item);
                item     = new Tunic();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item     = new HeaterShield();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item = new VikingSword();
                AddItem(item);
                item = Utility.RandomBool() ? (Item) new Boots() : (Item) new ThighBoots();
                AddItem(item);
                PackGold(15, 100);
            }
            else
            {
                int hairHue = Utility.RandomHairHue();
                Utility.AssignRandomHair(this, hairHue);
                item = new PlateChest();
                AddItem(item);
                item = new PlateLegs();
                AddItem(item);
                item = new PlateArms();
                AddItem(item);
                item = new PlateGloves();
                AddItem(item);
                item = new PlateGorget();
                AddItem(item);
                switch (Utility.Random(5))
                {
                case 0: item = new PlateHelm(); break;

                case 1: item = new Helmet(); break;

                case 2: item = new CloseHelm(); break;

                case 3: item = new Bascinet(); break;

                case 4:
                default: item = new NorseHelm(); break;
                }
                AddItem(item);
                item     = new Tunic();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item     = new HeaterShield();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item = new VikingSword();
                AddItem(item);
                item = Utility.RandomBool() ? (Item) new Boots() : (Item) new ThighBoots();
                AddItem(item);
                PackGold(15, 100);
            }
        }
Ejemplo n.º 3
0
        public GuardiaLisboaCapitan()
            : base(AIType.AI_Melee)
        {
            SetStr(150, 250);
            SetDex(150, 250);
            SetInt(150, 250);

            SetHits(150, 250);
            SetMana(60);

            if (Utility.RandomBool())
            {
                new Horse().Rider = this;
            }

            SetResistance(ResistanceType.Physical, 90, 190);
            SetResistance(ResistanceType.Fire, 90, 190);
            SetResistance(ResistanceType.Cold, 90, 190);
            SetResistance(ResistanceType.Poison, 90, 190);

            SetSkill(SkillName.MagicResist, 100.0, 190.0);
            SetSkill(SkillName.Tactics, 100.0, 190.0);
            SetSkill(SkillName.Anatomy, 100.0, 190.0);
            SetSkill(SkillName.Healing, 100.0, 190.0);
            SetSkill(SkillName.Swords, 100.0, 190.0);
            SetSkill(SkillName.Parry, 100.0, 190.0);
            SetSkill(SkillName.Macing, 100.0, 190.0);
            SetSkill(SkillName.Fencing, 100.0, 190.0);

            Fame  = 1000;
            Karma = 10000;

            VirtualArmor = 45;

            AddItem(new Boots(1708));
            AddItem(new Cloak(1708));
            PlateChest chest = new PlateChest();

            chest.Hue = 1708;
            AddItem(chest);
            PlateGorget gorget = new PlateGorget();

            gorget.Hue = 1708;
            AddItem(gorget);
            PlateLegs legs = new PlateLegs();

            legs.Hue = 1708;
            AddItem(legs);
            PlateArms arms = new PlateArms();

            arms.Hue = 1708;
            AddItem(arms);
            PlateGloves gloves = new PlateGloves();

            gloves.Hue = 1708;
            AddItem(gloves);
            AddItem(new Bandage(20));

            switch (Utility.Random(4))
            {   //Swords
            case 0: AddItem(new Longsword());
                AddItem(new MetalKiteShield());
                SetDamage(15, 16);
                SetResistance(ResistanceType.Physical, 50, 40);
                break;

            case 1: AddItem(new Broadsword());
                AddItem(new MetalKiteShield());
                SetDamage(14, 15);
                SetResistance(ResistanceType.Physical, 50, 40);
                break;

            case 2: AddItem(new Halberd());
                SetDamage(18, 22);
                break;

            case 3: AddItem(new Bardiche());
                SetDamage(17, 22);
                break;
            }
        }
Ejemplo n.º 4
0
        /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        public static Item CreateMetalArmor(string gender)
        {
            Item item = null;

            int nType = Utility.RandomMinMax(0, 26);

            switch (nType)
            {
            case 0:         item = new ChainCoif();                 item.Name = "chainmail coif";           break;

            case 1:         item = new ChainChest();                item.Name = "chainmail tunic";          break;

            case 2:         item = new ChainLegs();                 item.Name = "chainmail leggings";       break;

            case 3:         item = new RingmailChest();             item.Name = "ringmail tunic";           break;

            case 4:         item = new RingmailLegs();              item.Name = "ringmail leggings";        break;

            case 5:         item = new RingmailArms();              item.Name = "ringmail sleeves";         break;

            case 6:         item = new RingmailGloves();    item.Name = "ringmail gloves";          break;

            case 7:         item = new PlateGorget();               item.Name = "platemail gorget";         break;

            case 8:         item = new PlateLegs();                 item.Name = "platemail leggings";       break;

            case 9:         item = new PlateArms();                 item.Name = "platemail arms";           break;

            case 10:        item = new PlateGloves();               item.Name = "platemail gauntlets";      break;

            case 11:        item = new PlateChest();                item.Name = "platemail tunic";
                if (gender == "female" || Utility.RandomMinMax(0, 3) == 1)
                {
                    item = new FemalePlateChest(); item.Name = "platemail tunic";
                }
                break;

            case 12:
            case 13:
                switch (Utility.RandomMinMax(0, 4))
                {
                case 0:         item = new PlateHelm();         item.Name = "platemail helm";   break;

                case 1:         item = new CloseHelm();         item.Name = "close helm";               break;

                case 2:         item = new Helmet();            item.Name = "helmet";                   break;

                case 3:         item = new NorseHelm();         item.Name = "norse helm";               break;

                case 4:         item = new Bascinet();          item.Name = "bascinet";                 break;
                }
                break;

            case 14: item = new ChainHatsuburi();                   item.Name = "chainmail hatsuburi";      break;

            case 15: item = new PlateHatsuburi();                   item.Name = "platemail hatsuburi";      break;

            case 16: item = new LightPlateJingasa();                item.Name = "platemail jingasa";        break;

            case 17: item = new HeavyPlateJingasa();                item.Name = "platemail jingasa";        break;

            case 18: item = new SmallPlateJingasa();                item.Name = "platemail jingasa";        break;

            case 19: item = new DecorativePlateKabuto();    item.Name = "platemail kabuto";         break;

            case 20: item = new PlateBattleKabuto();                item.Name = "platemail kabuto";         break;

            case 21: item = new StandardPlateKabuto();              item.Name = "platemail kabuto";         break;

            case 22: item = new PlateDo();                                  item.Name = "platemail do";                     break;

            case 23: item = new PlateHiroSode();                    item.Name = "platemail hiro sade";      break;

            case 24: item = new PlateSuneate();                             item.Name = "platemail suneate";        break;

            case 25: item = new PlateHaidate();                             item.Name = "platemail haidate";        break;

            case 26: item = new ChainHatsuburi();                   item.Name = "chainmail hatsuburi";      break;
            }

            return(item);
        }
Ejemplo n.º 5
0
        public EnsorcelledArmor(ArmoryEncounter encounter) : base(AIType.AI_Melee, FightMode.Weakest, 10, 1, 0.2, 0.4)
        {
            Encounter   = encounter;
            Name        = "ensorcelled armor";
            BaseSoundID = 412;

            Body = 0x190;
            SetStr(386, 400);
            SetDex(151, 165);
            SetInt(161, 175);

            SetDamage(15, 21);

            SetDamageType(ResistanceType.Physical, 100);

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

            SetSkill(SkillName.Anatomy, 125.0);
            SetSkill(SkillName.Fencing, 46.0, 77.5);
            SetSkill(SkillName.Macing, 35.0, 57.5);
            SetSkill(SkillName.Poisoning, 60.0, 82.5);
            SetSkill(SkillName.MagicResist, 83.5, 92.5);
            SetSkill(SkillName.Swords, 125.0);
            SetSkill(SkillName.Tactics, 125.0);
            SetSkill(SkillName.Lumberjacking, 125.0);

            CloseHelm helm = new CloseHelm
            {
                Hue = 0x96D
            };

            AddItem(helm);

            PlateArms arms = new PlateArms
            {
                Hue = 0x96D
            };

            AddItem(arms);

            PlateLegs legs = new PlateLegs
            {
                Hue = 0x96D
            };

            AddItem(legs);

            PlateChest tunic = new PlateChest
            {
                Hue = 0x96D
            };

            AddItem(tunic);

            PlateGorget gorget = new PlateGorget
            {
                Hue = 0x96D
            };

            AddItem(gorget);

            PlateGloves golves = new PlateGloves
            {
                Hue = 0x96D
            };

            AddItem(golves);

            Halberd halberd = new Halberd
            {
                Hue = 0x96D
            };

            AddItem(halberd);

            AddItem(new HalfApron(728));

            Fame  = 8500;
            Karma = -8500;
        }
Ejemplo n.º 6
0
        public WeaponsCollector()
            : base()


//----------------------------------------------------------------------------------------------------//
        {
            Body = 400;
            Hue  = Utility.RandomSkinHue();
            if (Female = Utility.RandomBool())
            {
                Body = 401;
                Name = NameList.RandomName("female");
            }
            else
            {
                Name = NameList.RandomName("male");
            }


            //----------------------------------------------------------------------------------------------------//

            //Title = "[A Weapons Collector]";
            //CantWalk = true;
            Direction = Direction.South;
            Hue       = Utility.RandomSkinHue();
            Utility.AssignRandomHair(this);
            Blessed = true;


            BodySash bs = new BodySash();

            bs.Hue = 33;
            AddItem(bs);

            PlateArms pa = new PlateArms();

            pa.Hue = 0;
            AddItem(pa);

            PlateChest pc = new PlateChest();

            pc.Hue = 0;
            AddItem(pc);

            PlateGloves pg = new PlateGloves();

            pg.Hue = 0;
            AddItem(pg);

            PlateLegs pl = new PlateLegs();

            pl.Hue = 0;
            AddItem(pl);

            PlateGorget pt = new PlateGorget();

            pt.Hue = 0;
            AddItem(pt);

            //----------------------------------------------------------------------------------------------------//
        }
Ejemplo n.º 7
0
        public SerRodrick()
            : base(AIType.AI_Melee, FightMode.Aggressor, 14, 1, 0.8, 1.6)
        {
            SpeechHue = Utility.RandomDyedHue();
            Title     = "Captain Of The Night Guard";


            Name = "Rodrick";
            Hue  = 1010;
            Body = 0x190;

            PlateChest pChest = new PlateChest();

            pChest.Hue = 1899;
            AddItem(pChest);
            PlateArms pArms = new PlateArms();

            pArms.Hue = 1899;
            AddItem(pArms);
            PlateGloves pGloves = new PlateGloves();

            pGloves.Hue = 1899;
            AddItem(pGloves);
            PlateGorget pGorget = new PlateGorget();

            pGorget.Hue = 1899;
            AddItem(pGorget);
            PlateLegs pLegs = new PlateLegs();

            pLegs.Hue = 1899;
            AddItem(pLegs);
            PlateHelm pHelm = new PlateHelm();

            pHelm.Hue = 1899;
            AddItem(pHelm);
            AddItem(new Boots(1899));

            SetStr(340);
            SetDex(500);
            SetInt(80);
            SetHits(400);
            SetDamage(40);

            Skills[SkillName.Anatomy].Base      = 120.0;
            Skills[SkillName.Tactics].Base      = 120.0;
            Skills[SkillName.Swords].Base       = 120.0;
            Skills[SkillName.MagicResist].Base  = 120.0;
            Skills[SkillName.DetectHidden].Base = 100.0;

            Fame  = 7000;
            Karma = 7000;

            Utility.AssignRandomHair(this);
            if (Utility.RandomBool())
            {
                Utility.AssignRandomFacialHair(this, HairHue);
            }


            Cutlass c = new Cutlass();

            c.Hue = 1899;
            AddItem(c);



            HeaterShield h = new HeaterShield();

            h.Hue = 1899;
            AddItem(h);



            PackGold(500, 800);
        }
Ejemplo n.º 8
0
        public DupresChampion() : base(AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4)
        {
            Name   = NameList.RandomName("male");
            Title  = "The Champion";
            Body   = 0x190;
            Hue    = Utility.RandomSkinHue();
            Female = false;

            SetStr(190, 200);
            SetDex(50, 75);
            SetInt(150, 250);
            SetHits(3900, 4100);
            SetDamage(22, 28);

            SetDamageType(ResistanceType.Physical, 100);

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

            SetSkill(SkillName.EvalInt, 195.0, 220.0);
            SetSkill(SkillName.Magery, 195.0, 220.0);
            SetSkill(SkillName.Meditation, 195.0, 200.0);
            SetSkill(SkillName.MagicResist, 100.0, 120.0);
            SetSkill(SkillName.Tactics, 195.0, 220.0);
            SetSkill(SkillName.Wrestling, 195.0, 220.0);

            VirtualArmor = 70;

            Item cutlass = new Cutlass();

            cutlass.LootType = LootType.Blessed;
            SetWearable(cutlass);

            Item ph = new PlateHelm();

            ph.LootType = LootType.Blessed;
            ph.Hue      = 0x8A5; // gold
            SetWearable(ph);

            Item pa = new PlateArms();

            pa.LootType = LootType.Blessed;
            pa.Hue      = 0x8A5; // gold
            SetWearable(pa);

            Item pg = new PlateGorget();

            pg.LootType = LootType.Blessed;
            pg.Hue      = 0x8A5; // gold
            SetWearable(pg);

            Item pgl = new PlateGloves();

            pgl.LootType = LootType.Blessed;
            pgl.Hue      = 0x8A5; // gold
            SetWearable(pgl);

            Item pl = new PlateLegs();

            pl.LootType = LootType.Blessed;
            pl.Hue      = 0x8A5; // gold
            SetWearable(pl);

            Item pc = new PlateChest();

            pc.LootType = LootType.Blessed;
            pc.Hue      = 0x8A5; // gold
            SetWearable(pc);

            Item mks = new MetalKiteShield();

            mks.LootType = LootType.Blessed;
            mks.Hue      = 0x776;
            SetWearable(mks);

            Item bs = new BodySash(0x486); // dark purple

            bs.LootType = LootType.Blessed;
            SetWearable(bs);

            Item cloak = new Cloak(0x486); // dark purple

            cloak.LootType = LootType.Blessed;
            SetWearable(cloak);

            PackGold(400, 600);
        }
Ejemplo n.º 9
0
        //AIType, Fight Mode, Range Perception, Fighting Range, Active Speed, Passive Speed
        public VampireLord() : base(AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Vampire Lord";
            Body = 0x0190;
            Hue  = 0x497;

            SetStr(750);
            SetDex(400, 500);
            SetInt(200, 250);

            SetHits(350, 400);
            SetStam(250, 300);
            SetMana(250, 300);

            SetDamage(20, 40);

            SetSkill(SkillName.Poisoning, 90.0, 100.0);
            SetSkill(SkillName.Tactics, 90.0, 98.0);
            SetSkill(SkillName.MagicResist, 75.0, 88.0);
            SetSkill(SkillName.Parry, 85.0, 98.0);
            SetSkill(SkillName.Wrestling, 67.0, 90.0);
            SetSkill(SkillName.DetectHidden, 90.0, 100.0);
            SetSkill(SkillName.Swords, 90.0, 95.0);
            SetSkill(SkillName.Magery, 95.0, 100.0);
            SetSkill(SkillName.EvalInt, 95.0, 100.0);

            Fame  = 3000;
            Karma = -10000;

            VirtualArmor = 40;

            Item temp = new PlateGloves {
                Movable = false, Hue = 0x0492, Name = "Vampire Plate Gauntlets"
            };

            AddItem(temp);
            temp = new PlateArms {
                Hue = 0x0492, Movable = false, Name = "Vampire Plate Arms"
            };
            AddItem(temp);
            temp = new PlateGorget {
                Movable = false, Hue = 0x0492, Name = "Vampire Plate Gorget"
            };
            AddItem(temp);
            temp = new PlateLegs {
                Movable = false, Hue = 0x0492, Name = "Vampire Plate Legs"
            };
            AddItem(temp);
            temp = new PlateChest {
                Movable = false, Hue = 0x0492, Name = "Vampire Plate Chest"
            };
            AddItem(temp);
            temp = new PlateHelm {
                Movable = false, Hue = 0x0492, Name = "Vampire Plate Helm"
            };
            AddItem(temp);
            temp = new BodySash {
                Movable = false, Hue = 0x1, Name = "Vampire Sash"
            };
            AddItem(temp);
            temp = new Cloak {
                Movable = false, Hue = 0x1
            };
            AddItem(temp);

            BaseArmor tarm;

            if (Utility.RandomDouble() < 0.3)
            {
                switch (Utility.Random(6))
                {
                case 0:
                    tarm = new PlateGloves {
                        Hue = 0x492, Name = "Vampire Plate Gauntlets"
                    };
                    break;

                case 1:
                    tarm = new PlateArms {
                        Hue = 0x492, Name = "Vampire Plate Arms"
                    };
                    break;

                case 2:
                    tarm = new PlateChest {
                        Hue = 0x492, Name = "Vampire Plate Chest"
                    };
                    break;

                case 3:
                    tarm = new PlateHelm {
                        Hue = 0x492, Name = "Vampire Plate Helm"
                    };
                    break;

                case 4:
                    tarm = new PlateLegs {
                        Hue = 0x492, Name = "Vampire Plate Legs"
                    };
                    break;

                default:
                    tarm = new PlateGorget {
                        Hue = 0x492, Name = "Vampire Plate Gorget"
                    };
                    break;
                }

                tarm.ProtectionLevel = (ArmorProtectionLevel)Utility.RandomMinMax(0, 5);
                AddItem(tarm);
            }

            BaseSword twep;

            switch (Utility.Random(8))
            {
            case 0:
                twep = new Broadsword();
                break;

            case 1:
                twep = new Cutlass();
                break;

            case 2:
                twep = new Scimitar();
                break;

            case 3:
                twep = new Katana();
                break;

            case 4:
                twep = new Kryss();
                break;

            case 5:
                twep = new Longsword();
                break;

            case 6:
                twep = new ThinLongsword();
                break;

            default:
                twep = new VikingSword();
                break;
            }
            switch (Utility.Random(3))
            {
            case 0:
                twep.DamageLevel = WeaponDamageLevel.Might;
                break;

            case 1:
                twep.DamageLevel = WeaponDamageLevel.Force;
                break;

            case 2:
                twep.DamageLevel = WeaponDamageLevel.Power;
                break;
            }

            AddItem(twep);
        }
Ejemplo n.º 10
0
        public BarFlyWarriorSouth() : base( )
        {
            if (Utility.RandomMinMax(1, 2) == 1)
            {
                Body = 401;
                Name = NameList.RandomName("female");
            }
            else
            {
                Body             = 400;
                Name             = NameList.RandomName("male");
                FacialHairItemID = Utility.RandomList(0, 0, 8254, 8255, 8256, 8257, 8267, 8268, 8269);
            }

            Direction = Direction.South;
            Blessed   = true;
            CantWalk  = true;
            Title     = TavernPatrons.GetTitle();
            Hue       = Utility.RandomSkinHue();
            Utility.AssignRandomHair(this);
            SpeechHue = Utility.RandomDyedHue();
            NameHue   = Utility.RandomOrangeHue();

            SetStr(386, 400);
            SetDex(151, 165);
            SetInt(161, 175);

            SetHits(300, 400);

            SetDamage(8, 10);

            SetDamageType(ResistanceType.Physical, 100);

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

            SetSkill(SkillName.DetectHidden, 80.0);
            SetSkill(SkillName.Anatomy, 125.0);
            SetSkill(SkillName.Poisoning, 60.0, 82.5);
            SetSkill(SkillName.MagicResist, 83.5, 92.5);
            SetSkill(SkillName.Swords, 125.0);
            SetSkill(SkillName.Tactics, 125.0);
            SetSkill(SkillName.Wrestling, 100);

            Fame         = 0;
            Karma        = 0;
            VirtualArmor = 30;

            PackItem(new Longsword());

            AddItem(new Boots(Utility.RandomNeutralHue()));
            if (1 == Utility.RandomMinMax(1, 2))
            {
                AddItem(new Cloak(RandomThings.GetRandomColor(0)));
            }

            int aHue = Utility.RandomList(0x973, 0x966, 0x96D, 0x972, 0x8A5, 0x979, 0x89F, 0x8AB, 0, Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue());
            int lHue = Utility.RandomList(0x8AC, 0x845, 0x851, 0x47E, 0x4AA, 0xB85, 0x497, 0x89F, 0x483, 0, Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue());

            int iArmor = Utility.RandomMinMax(1, 4);

            if (iArmor == 1)
            {
                Item cloth1 = new PlateArms();
                cloth1.Hue = aHue;
                AddItem(cloth1);
                Item cloth2 = new PlateGorget();
                cloth2.Hue = aHue;
                AddItem(cloth2);
                Item cloth3 = new PlateLegs();
                cloth3.Hue = aHue;
                AddItem(cloth3);
                Item cloth4 = new PlateChest();
                cloth4.Hue = aHue;
                AddItem(cloth4);
            }
            else if (iArmor == 2)
            {
                Item cloth1 = new ChainChest();
                cloth1.Hue = aHue;
                AddItem(cloth1);
                Item cloth2 = new ChainLegs();
                cloth2.Hue = aHue;
                AddItem(cloth2);
                Item cloth3 = new RingmailArms();
                cloth3.Hue = aHue;
                AddItem(cloth3);
                Item cloth4 = new PlateGorget();
                cloth4.Hue = aHue;
                AddItem(cloth4);
            }
            else if (iArmor == 3)
            {
                Item cloth1 = new StuddedChest();
                cloth1.Hue = lHue;
                AddItem(cloth1);
                Item cloth2 = new StuddedArms();
                cloth2.Hue = lHue;
                AddItem(cloth2);
                Item cloth3 = new StuddedLegs();
                cloth3.Hue = lHue;
                AddItem(cloth3);
                Item cloth4 = new StuddedGorget();
                cloth4.Hue = lHue;
                AddItem(cloth4);
            }
            else
            {
                Item cloth1 = new LeatherArms();
                cloth1.Hue = lHue;
                AddItem(cloth1);
                Item cloth2 = new LeatherChest();
                cloth2.Hue = lHue;
                AddItem(cloth2);
                Item cloth3 = new LeatherGorget();
                cloth3.Hue = lHue;
                AddItem(cloth3);
                Item cloth4 = new LeatherLegs();
                cloth4.Hue = lHue;
                AddItem(cloth4);
            }

            int HairColor = Utility.RandomHairHue();

            HairHue       = HairColor;
            FacialHairHue = HairColor;
        }
Ejemplo n.º 11
0
        public BaneOfInsanity() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body = 0x190;

            SpeechHue = Utility.RandomDyedHue();
            Hue       = Utility.RandomSkinHue();

            Name = NameList.RandomName("male");
            Utility.AssignRandomHair(this);
            int HairColor = Utility.RandomHairHue();

            FacialHairItemID = Utility.RandomList(0, 8254, 8255, 8256, 8257, 8267, 8268, 8269);
            HairHue          = HairColor;
            FacialHairHue    = HairColor;
            Title            = "the Bane of Insanity";

            SetStr(350);
            SetDex(150);
            SetInt(120);

            SetHits(300);

            SetDamage(12, 23);

            SetDamageType(ResistanceType.Physical, 100);

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

            SetSkill(SkillName.DetectHidden, 80.0);
            SetSkill(SkillName.Anatomy, 110.0);
            SetSkill(SkillName.MagicResist, 80.0);
            SetSkill(SkillName.Macing, 110.0);
            SetSkill(SkillName.Fencing, 110.0);
            SetSkill(SkillName.Wrestling, 110.0);
            SetSkill(SkillName.Swords, 110.0);
            SetSkill(SkillName.Tactics, 110.0);

            Fame  = 8000;
            Karma = -8000;

            VirtualArmor = 30;

            PlateChest chest = new PlateChest();

            chest.Hue             = 0x83F;
            chest.Name            = "plate tunic of insanity";
            chest.Durability      = ArmorDurabilityLevel.Indestructible;
            chest.ProtectionLevel = ArmorProtectionLevel.Invulnerability;
            AddItem(chest);
            PlateArms arms = new PlateArms();

            arms.Hue             = 0x83F;
            arms.Name            = "plate arms of insanity";
            arms.Durability      = ArmorDurabilityLevel.Indestructible;
            arms.ProtectionLevel = ArmorProtectionLevel.Invulnerability;
            AddItem(arms);
            PlateLegs legs = new PlateLegs();

            legs.Hue             = 0x83F;
            legs.Name            = "plate leggings of insanity";
            legs.Durability      = ArmorDurabilityLevel.Indestructible;
            legs.ProtectionLevel = ArmorProtectionLevel.Invulnerability;
            AddItem(legs);
            PlateGorget neck = new PlateGorget();

            neck.Hue             = 0x83F;
            neck.Name            = "plate gorget of insanity";
            neck.Durability      = ArmorDurabilityLevel.Indestructible;
            neck.ProtectionLevel = ArmorProtectionLevel.Invulnerability;
            AddItem(neck);
            PlateGloves gloves = new PlateGloves();

            gloves.Hue             = 0x83F;
            gloves.Name            = "plate gloves of insanity";
            gloves.Durability      = ArmorDurabilityLevel.Indestructible;
            gloves.ProtectionLevel = ArmorProtectionLevel.Invulnerability;
            AddItem(gloves);
            PlateHelm helm = new PlateHelm();

            helm.Hue             = 0x83F;
            helm.ItemID          = 0x2645;
            helm.Name            = "plate helm of insanity";
            helm.Durability      = ArmorDurabilityLevel.Indestructible;
            helm.ProtectionLevel = ArmorProtectionLevel.Invulnerability;
            AddItem(helm);
            Halberd weapon = new Halberd();

            weapon.Hue             = 0x83F;
            weapon.Name            = "halberd of insanity";
            weapon.AccuracyLevel   = WeaponAccuracyLevel.Supremely;
            weapon.DamageLevel     = WeaponDamageLevel.Vanq;
            weapon.DurabilityLevel = WeaponDurabilityLevel.Indestructible;
            AddItem(weapon);
        }
        public BlizzardKnight() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "a blizzard knight";
            Body        = 0x190;
            BaseSoundID = 263;

            SetStr(326, 355);
            SetDex(166, 185);
            SetInt(71, 95);

            SetHits(438, 511);

            SetDamage(12, 18);

            SetDamageType(ResistanceType.Physical, 30);
            SetDamageType(ResistanceType.Cold, 70);

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

            SetSkill(SkillName.Anatomy, 35.0, 55.5);
            SetSkill(SkillName.Swords, 70.2, 80.0);
            SetSkill(SkillName.Tactics, 80.1, 100.0);
            SetSkill(SkillName.Wrestling, 80.1, 100.0);

            Fame  = 18000;
            Karma = -18000;

            AddItem(new LightSource());

            Lance weapon = new Lance();

            weapon.Hue     = 1152;
            weapon.Movable = false;
            AddItem(weapon);

            BronzeShield shield = new BronzeShield();

            shield.Hue     = 1152;
            shield.Movable = false;
            AddItem(shield);

            CloseHelm helm = new CloseHelm();

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

            PlateArms arms = new PlateArms();

            arms.Hue     = 1152;
            arms.Movable = false;
            AddItem(arms);

            PlateGloves gloves = new PlateGloves();

            gloves.Hue     = 1152;
            gloves.Movable = false;
            AddItem(gloves);

            PlateChest tunic = new PlateChest();

            tunic.Hue     = 1152;
            tunic.Movable = false;
            AddItem(tunic);

            PlateLegs legs = new PlateLegs();

            legs.Hue     = 1152;
            legs.Movable = false;
            AddItem(legs);

            new IceBeetle().Rider = this;

            Container pack = new Backpack();

            pack.DropItem(new Gold(Utility.RandomMinMax(13, 28)));
            pack.DropItem(Loot.RandomArmor());
            pack.DropItem(Loot.RandomArmor());

            if (Utility.RandomDouble() < 0.05)
            {
                BaseArmor armor = Loot.RandomArmor(true);
                BaseRunicTool.ApplyAttributesTo(armor, 5, 15, 30);

                pack.DropItem(armor);
            }

            Container bag = new Bag();

            bag.DropItem(new Gold(Utility.RandomMinMax(35, 75)));
            bag.DropItem(new TurquoiseCustom(Utility.RandomMinMax(2, 4)));
            bag.DropItem(new DiamondDust(Utility.RandomMinMax(9, 18)));
            bag.DropItem(Loot.RandomPotion());
            bag.DropItem(Loot.RandomGem());
            bag.DropItem(Loot.RandomGem());

            if (Utility.RandomDouble() < 0.05)
            {
                BaseArmor armor = Loot.RandomArmor(true);
                BaseRunicTool.ApplyAttributesTo(armor, 5, 15, 20);

                armor.Attributes.WeaponDamage = 5;

                bag.DropItem(armor);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseJewel jewel = new GoldRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(jewel, 4, 15, 20);
                }

                jewel.Hue = 1152;
                jewel.Attributes.WeaponDamage = 7;
                jewel.Resistances.Cold        = 10;

                bag.DropItem(jewel);
            }

            pack.DropItem(bag);

            PackItem(pack);
        }
Ejemplo n.º 13
0
        public override Item Construct(Type type, Mobile from, Item _i, HarvestDefinition _d, HarvestBank _b, HarvestResource _r)
        {
            if (type == typeof(TreasureMap))
            {
                int level = 1;

                return(new TreasureMap(level, Map.Felucca));
            }

            else if (type == typeof(MessageInABottle))
            {
                return(new MessageInABottle(Map.Felucca));
            }

            Container pack = from.Backpack;

            if (pack != null)
            {
                List <SOS> messages = pack.FindItemsByType <SOS>();

                for (int i = 0; i < messages.Count; ++i)
                {
                    SOS sos = messages[i];

                    if (from.Map == sos.TargetMap && from.InRange(sos.TargetLocation, 60) && !sos.Completed)
                    {
                        Item preLoot = null;

                        switch (Utility.Random(7))
                        {
                        case 0:     // Body parts
                        {
                            int[] list = new int[]
                            {
                                0x1CDD, 0x1CE5,                                        // arm
                                0x1CE0, 0x1CE8,                                        // torso
                                0x1CE1, 0x1CE9,                                        // head
                                0x1CE2, 0x1CEC                                         // leg
                            };

                            preLoot = new ShipwreckedItem(Utility.RandomList(list));
                            break;
                        }

                        case 1:     // Bone parts
                        {
                            int[] list = new int[]
                            {
                                0x1AE0, 0x1AE1, 0x1AE2, 0x1AE3, 0x1AE4,                         // skulls
                                0x1B09, 0x1B0A, 0x1B0B, 0x1B0C, 0x1B0D, 0x1B0E, 0x1B0F, 0x1B10, // bone piles
                                0x1B15, 0x1B16                                                  // pelvis bones
                            };

                            preLoot = new ShipwreckedItem(Utility.RandomList(list));
                            break;
                        }

                        case 2:     // Pillows
                        {
                            preLoot = new ShipwreckedItem(Utility.Random(0x13A4, 11));
                            break;
                        }

                        case 3:     // Shells
                        {
                            preLoot = new ShipwreckedItem(Utility.Random(0xFC4, 9));
                            break;
                        }

                        case 4:         //Hats
                        {
                            if (Utility.RandomBool())
                            {
                                preLoot = new SkullCap();
                            }
                            else
                            {
                                preLoot = new TricorneHat();
                            }

                            break;
                        }

                        case 5:     // Misc
                        {
                            int[] list = new int[]
                            {
                                0x1EB5,                                        // unfinished barrel
                                0xA2A,                                         // stool
                                0xC1F,                                         // broken clock
                                0x1EB1, 0x1EB2, 0x1EB3, 0x1EB4                 // barrel staves
                            };

                            if (Utility.Random(list.Length + 1) == 0)
                            {
                                preLoot = new Candelabra();
                            }
                            else
                            {
                                preLoot = new ShipwreckedItem(Utility.RandomList(list));
                            }

                            break;
                        }
                        }

                        if (preLoot != null)
                        {
                            if (preLoot is IShipwreckedItem)
                            {
                                ((IShipwreckedItem)preLoot).IsShipwreckedItem = true;
                            }

                            return(preLoot);
                        }

                        LockableContainer chest;

                        if (Utility.RandomBool())
                        {
                            chest = new MetalGoldenChest();
                        }
                        else
                        {
                            chest = new WoodenChest();
                        }

                        if (sos.IsAncient)
                        {
                            chest.Hue = 0x481;
                        }

                        TreasureMapChest.Fill(chest, Math.Max(1, Math.Min(3, (sos.Level + 1))));

                        if (sos.IsAncient)
                        {
                            chest.DropItem(new FabledFishingNet());
                        }
                        else
                        {
                            chest.DropItem(new SpecialFishingNet());
                        }

                        switch (Utility.Random(300))
                        {
                        case 0:
                        {
                            Item rustedchest = new PlateChest();
                            rustedchest.Hue  = 2718;
                            rustedchest.Name = "a rusted platemail chest recovered from a shipwreck";

                            chest.DropItem(rustedchest);
                            break;
                        }

                        case 1:
                        {
                            Item rustedarms = new PlateArms();
                            rustedarms.Hue  = 2718;
                            rustedarms.Name = "rusted platemail arms recovered from a shipwreck";

                            chest.DropItem(rustedarms);
                            break;
                        }

                        case 2:
                        {
                            Item rustedlegs = new PlateLegs();
                            rustedlegs.Hue  = 2718;
                            rustedlegs.Name = "rusted platemail legguards recovered from a shipwreck";

                            chest.DropItem(rustedlegs);
                            break;
                        }

                        case 3:
                        {
                            Item rustedgloves = new PlateGloves();
                            rustedgloves.Hue  = 2718;
                            rustedgloves.Name = "rusted platemail gloves recovered from a shipwreck";

                            chest.DropItem(rustedgloves);
                            break;
                        }

                        case 4:
                        {
                            Item rustedgorget = new PlateGorget();
                            rustedgorget.Hue  = 2718;
                            rustedgorget.Name = "rusted platemail gorget recovered from a shipwreck";

                            chest.DropItem(rustedgorget);
                            break;
                        }

                        case 5:
                        {
                            Item rustedhelm = new PlateHelm();
                            rustedhelm.Hue  = 2718;
                            rustedhelm.Name = "a rusted platemail helmet recovered from a shipwreck";

                            chest.DropItem(rustedhelm);
                            break;
                        }
                        }

                        switch (Utility.Random(400))
                        {
                        case 0:
                        {
                            Item lamp = new LampPost1();
                            lamp.Name = "Britannia Head Light";
                            lamp.Hue  = 2601;

                            chest.DropItem(lamp);
                            break;
                        }

                        case 1:
                        {
                            Item lantern = new HangingLantern();
                            lantern.Name    = "Fog Lamp";
                            lantern.Hue     = 2601;
                            lantern.Movable = true;

                            chest.DropItem(lantern);
                            break;
                        }
                        }

                        chest.Movable   = true;
                        chest.Locked    = false;
                        chest.TrapType  = TrapType.None;
                        chest.TrapPower = 0;
                        chest.TrapLevel = 0;

                        sos.Completed = true;

                        BaseShip ownerShip = BaseShip.FindShipAt(from.Location, from.Map);

                        PlayerMobile player = from as PlayerMobile;

                        if (ownerShip != null && player != null)
                        {
                            if (ownerShip.IsFriend(player) || ownerShip.IsOwner(player) || ownerShip.IsCoOwner(player))
                            {
                                double doubloonValue = Utility.RandomMinMax(25, 50);

                                int finalDoubloonAmount = (int)doubloonValue;

                                bool shipOwner          = ownerShip.IsOwner(player);
                                bool bankDoubloonsValid = false;
                                bool holdPlacementValid = false;

                                //Deposit Half In Player's Bank
                                if (Banker.DepositUniqueCurrency(player, typeof(Doubloon), finalDoubloonAmount))
                                {
                                    Doubloon doubloonPile = new Doubloon(finalDoubloonAmount);
                                    player.SendSound(doubloonPile.GetDropSound());
                                    doubloonPile.Delete();

                                    bankDoubloonsValid = true;
                                }

                                //Deposit Other Half in Ship
                                if (ownerShip.DepositDoubloons(finalDoubloonAmount))
                                {
                                    Doubloon doubloonPile = new Doubloon(finalDoubloonAmount);
                                    player.SendSound(doubloonPile.GetDropSound());
                                    doubloonPile.Delete();

                                    holdPlacementValid = true;
                                }

                                if (shipOwner)
                                {
                                    player.PirateScore += finalDoubloonAmount;
                                    //ownerShip.doubloonsEarned += finalDoubloonAmount * 2;

                                    if (bankDoubloonsValid && holdPlacementValid)
                                    {
                                        player.SendMessage("You've received " + (finalDoubloonAmount * 2).ToString() + " doubloons for completing a message in a bottle! They have been evenly split between your bank box and your ship's hold.");
                                    }

                                    else if (bankDoubloonsValid && !holdPlacementValid)
                                    {
                                        player.SendMessage("You've earned " + (finalDoubloonAmount * 2).ToString() + " doubloons, however there was not enough room to place all of them in your ship's hold.");
                                    }

                                    else if (!bankDoubloonsValid && holdPlacementValid)
                                    {
                                        player.SendMessage("You've earned " + (finalDoubloonAmount * 2).ToString() + " doubloons, however there was not enough room to place all of them in your bank box.");
                                    }
                                }

                                else
                                {
                                    //ownerShip.doubloonsEarned += finalDoubloonAmount;
                                    player.PirateScore += finalDoubloonAmount;

                                    if (bankDoubloonsValid)
                                    {
                                        player.SendMessage("You've earned " + finalDoubloonAmount.ToString() + " doubloons for completing a message in a bottle! They have been placed in your bank box.");
                                    }

                                    else
                                    {
                                        player.SendMessage("You've earned doubloons, but there was not enough room to place all of them in your bank box.");
                                    }
                                }
                            }
                        }

                        return(chest);
                    }
                }
            }

            return(base.Construct(type, from, _i, _d, _b, _r));
        }
        public GuardiaLisboaNovato()
            : base(AIType.AI_Melee)
        {
            SetStr(100, 150);
            SetDex(80, 100);
            SetInt(20, 40);

            SetHits(80, 110);
            SetMana(40);

            if (Utility.RandomBool())
            {
                new Horse().Rider = this;
            }

            SetResistance(ResistanceType.Physical, 30, 50);
            SetResistance(ResistanceType.Fire, 30, 50);
            SetResistance(ResistanceType.Cold, 30, 50);
            SetResistance(ResistanceType.Poison, 30, 50);

            SetSkill(SkillName.MagicResist, 100.0, 120.0);
            SetSkill(SkillName.Tactics, 60.0, 80.0);
            SetSkill(SkillName.Anatomy, 60.0, 80.0);
            SetSkill(SkillName.Healing, 40.0, 55.0);
            SetSkill(SkillName.Swords, 60.0, 80.0);
            SetSkill(SkillName.Parry, 60.0, 90.0);
            SetSkill(SkillName.Macing, 60.0, 90.0);
            SetSkill(SkillName.Fencing, 60.0, 90.0);

            Fame  = 1000;
            Karma = 10000;

            VirtualArmor = 25;

            AddItem(new Boots(1708));
            AddItem(new Cloak(1708));
            PlateChest chest = new PlateChest();

            chest.Hue = 1708;
            AddItem(chest);
            PlateGorget gorget = new PlateGorget();

            gorget.Hue = 1708;
            AddItem(gorget);
            PlateLegs legs = new PlateLegs();

            legs.Hue = 1708;
            AddItem(legs);
            PlateArms arms = new PlateArms();

            arms.Hue = 1708;
            AddItem(arms);
            PlateGloves gloves = new PlateGloves();

            gloves.Hue = 1708;
            AddItem(gloves);
            AddItem(new Bandage(20));

            switch (Utility.Random(7))
            {   //Swords
            case 0: AddItem(new Longsword());
                AddItem(new WoodenKiteShield());
                SetDamage(5, 18);
                SetResistance(ResistanceType.Physical, 50, 40);
                break;

            case 1: AddItem(new Broadsword());
                AddItem(new WoodenKiteShield());
                SetDamage(8, 18);
                SetResistance(ResistanceType.Physical, 50, 40);
                break;

            case 2: AddItem(new Axe());
                SetDamage(11, 19);
                break;

            case 3: AddItem(new TwoHandedAxe());
                SetDamage(13, 23);
                break;

            //Maces
            case 4: AddItem(new Mace());
                AddItem(new WoodenKiteShield());
                SetDamage(6, 18);
                SetResistance(ResistanceType.Physical, 50, 40);
                break;

            case 5: AddItem(new HammerPick());
                SetDamage(10, 22);
                break;

            case 6: AddItem(new WarHammer());
                SetDamage(13, 28);
                break;
            }
        }
Ejemplo n.º 15
0
        public EvilKnight() : base(AIType.AI_Paladin, FightMode.Closest, 16, 1, 0.1, 0.3)
        {
            var h = cr();


            //this.Female = Utility.RandomBool();
            Body = ((this.Female = Utility.RandomBool()) ? Body = 0x191 : Body = 0x190);
            Name = this.Female ? NameList.RandomName("female") : NameList.RandomName("male");
            //SpeechHue = Utility.RandomDyedHue();
            Hue = Utility.RandomSkinHue();
            Utility.AssignRandomHair(this);

            SetStr(176, 205);
            SetDex(178, 187);
            SetInt(335, 445);

            SetHits(1500, 2500);

            SetDamage(24, 32);
            Title = "惡靈騎士";
            SetDamageType(ResistanceType.Physical, 90);
            SetDamageType(ResistanceType.Poison, 10);

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

            SetSkill(SkillName.MagicResist, 42.6, 57.5);
            SetSkill(SkillName.Tactics, 115.1, 130.0);
            SetSkill(SkillName.Wrestling, 92.6, 107.5);
            SetSkill(SkillName.Anatomy, 110.1, 125.0);

            SetSkill(SkillName.Fencing, 92.6, 107.5);
            SetSkill(SkillName.Macing, 92.6, 107.5);
            SetSkill(SkillName.Swords, 92.6, 107.5);

            SetSkill(SkillName.Bushido, 95.0, 120.0);


            Fame  = 16000;
            Karma = -16000;

            m = new Nightmare();
            //PlateHelm ch = new PlateHelm() { Resource = h };
            PlateChest pc = new PlateChest()
            {
                Resource = h
            };
            PlateGorget lg = new PlateGorget()
            {
                Resource = h
            };
            PlateArms pa = new PlateArms()
            {
                Resource = h
            };
            PlateLegs pl = new PlateLegs()
            {
                Resource = h
            };
            PlateGloves pg = new PlateGloves()
            {
                Resource = h
            };

            //AddItem(ch);
            AddItem(pc);
            AddItem(pl);
            AddItem(pa);
            AddItem(lg);
            AddItem(pg);
            BaseRing r = new GoldRing();

            r.Attributes.AttackChance = 40;
            r.Movable = false;
            AddItem(r);

            if (Utility.RandomBool())
            {
                AddItem(new Scythe()
                {
                    Resource = h
                });
            }
            else
            {
                switch (Utility.Random(3))
                {
                case 0: AddItem(new Longsword()); break;

                case 1: AddItem(new Broadsword()); break;

                case 2: AddItem(new VikingSword()); break;
                }
                AddItem(new ChaosShield()
                {
                    Resource = h
                });
            }
            m.Rider = this;
            PackGold(2000, 3000);
            if (Utility.RandomDouble() < 0.1)
            {
                PackItem(new TreasureMap(6, this.Map));
            }
        }
Ejemplo n.º 16
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);
            }
        }
Ejemplo n.º 17
0
        public override void OnAfterSpawn()
        {
            base.OnAfterSpawn();

            Region reg = Region.Find(this.Location, this.Map);

            string World = Server.Misc.Worlds.GetMyWorld(this.Map, this.Location, this.X, this.Y);

            int clothColor = 0;
            int shieldType = 0;
            int helmType   = 0;
            int cloakColor = 0;

            Item weapon = new VikingSword(); weapon.Delete();

            if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Village of Whisper")
            {
                clothColor = 0x96D;             shieldType = 0x1B72;    helmType = 0x140E;              cloakColor = 0x972;             weapon = new Longsword();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Town of Glacial Hills")
            {
                clothColor = 0xB70;             shieldType = 0x1B74;    helmType = 0x1412;              cloakColor = 0xB7A;             weapon = new Kryss();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Village of Springvale")
            {
                clothColor = 0x595;             shieldType = 0;                 helmType = 0x140E;              cloakColor = 0x593;             weapon = new Pike();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the City of Elidor")
            {
                clothColor = 0x665;             shieldType = 0x1B7B;    helmType = 0x1412;              cloakColor = 0x664;             weapon = new Katana();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Village of Islegem")
            {
                clothColor = 0x7D1;             shieldType = 0;                 helmType = 0x140E;              cloakColor = 0x7D6;             weapon = new Spear();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "Greensky Village")
            {
                clothColor = 0x7D7;             shieldType = 0;                 helmType = 0x1412;              cloakColor = 0x7DA;             weapon = new Bardiche();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Port of Dusk")
            {
                clothColor = 0x601;             shieldType = 0x1B76;    helmType = 0x140E;              cloakColor = 0x600;             weapon = new Cutlass();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Port of Starguide")
            {
                clothColor = 0x751;             shieldType = 0;                 helmType = 0x1412;              cloakColor = 0x758;             weapon = new BladedStaff();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Village of Portshine")
            {
                clothColor = 0x847;             shieldType = 0x1B7A;    helmType = 0x140E;              cloakColor = 0x851;             weapon = new Mace();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Ranger Outpost")
            {
                clothColor = 0x598;             shieldType = 0;                 helmType = 0x140E;              cloakColor = 0x83F;             weapon = new Spear();
            }
            else if (World == "the Land of Lodoria")               // ( Server.Misc.Worlds.GetRegionName( this.Map, this.Location ) == "the City of Lodoria" || Server.Misc.Worlds.GetRegionName( this.Map, this.Location ) == "the Castle of Knowledge" || Server.Misc.Worlds.GetRegionName( this.Map, this.Location ) == "the Lodoria City Park" || Server.Misc.Worlds.GetRegionName( this.Map, this.Location ) == "the Village of Lodoria" || Server.Misc.Worlds.GetRegionName( this.Map, this.Location ) == "the Lodoria Cemetery" )
            {
                clothColor = 0x6E4;             shieldType = 0x1BC4;    helmType = 0x1412;              cloakColor = 0x6E7;             weapon = new Scimitar();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Lunar City of Dawn")
            {
                clothColor = 0x9C4;             shieldType = 0;                 helmType = 11121;               cloakColor = 0x9C4;             weapon = new QuarterStaff();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "The Town of Devil Guard" || Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "The Farmland of Devil Guard")
            {
                clothColor = 0x430;             shieldType = 0;                 helmType = 0x140E;              cloakColor = 0;                 weapon = new LargeBattleAxe();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Town of Moon")
            {
                clothColor = 0x8AF;             shieldType = 0x1B72;    helmType = 0x1412;              cloakColor = 0x972;             weapon = new Longsword();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Village of Grey")
            {
                clothColor = 0;                 shieldType = 0;                 helmType = 0x140E;              cloakColor = 0x763;             weapon = new Halberd();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the City of Montor")
            {
                clothColor = 0x96F;             shieldType = 0x1B74;    helmType = 0x1412;              cloakColor = 0x529;             weapon = new Broadsword();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Village of Fawn")
            {
                clothColor = 0x59D;             shieldType = 0;                 helmType = 0x140E;              cloakColor = 0x59C;             weapon = new DoubleAxe();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Village of Yew")
            {
                clothColor = 0x83C;             shieldType = 0;                 helmType = 0x1412;              cloakColor = 0x850;             weapon = new Spear();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "Iceclad Fisherman's Village" || Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Town of Mountain Crest" || Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "Glacial Coast Village")
            {
                clothColor = 0x482;             shieldType = 0;                 helmType = 0x140E;              cloakColor = 0x47E;             weapon = new Bardiche();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Undercity of Umbra")
            {
                clothColor = 0x964;             shieldType = 0x1BC3;    helmType = 0x140E;              cloakColor = 0x966;             weapon = new BoneHarvester();
            }
            else if (World == "the Island of Umber Veil")
            {
                clothColor = 0xA5D;             shieldType = 0;                 helmType = 0x140E;              cloakColor = 0x96D;             weapon = new Halberd();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the City of Kuldara")
            {
                clothColor = 0x965;             shieldType = 0x1BC3;    helmType = 0x140E;              cloakColor = 0x845;             weapon = new Maul();
            }
            else if (World == "the Isles of Dread")
            {
                clothColor = 0x978;             shieldType = 0x1B7A;    helmType = 0;                   cloakColor = 0x973;             weapon = new VikingSword();
            }
            else if (Server.Misc.Worlds.GetRegionName(this.Map, this.Location) == "the Village of Barako")
            {
                clothColor = 0x515;             shieldType = 0x1B72;    helmType = 0x2645;              cloakColor = 0x58D;             weapon = new WarMace();
            }
            else if (World == "the Savaged Empire")               // ( Server.Misc.Worlds.GetRegionName( this.Map, this.Location ) == "the Village of Kurak" )
            {
                clothColor = 0x515;             shieldType = 0;                 helmType = 0x140E;              cloakColor = 0x59D;             weapon = new Spear();
            }
            else if (World == "the Serpent Island")               // ( Server.Misc.Worlds.GetRegionName( this.Map, this.Location ) == "the City of Furnace" )
            {
                clothColor = 0x515;             shieldType = 0;                 helmType = 0x2FBB;              cloakColor = 0;                 weapon = new Halberd();
            }
            else             // if ( Server.Misc.Worlds.GetRegionName( this.Map, this.Location ) == "the City of Britain" || Server.Misc.Worlds.GetRegionName( this.Map, this.Location ) == "the Britain Castle Grounds" || Server.Misc.Worlds.GetRegionName( this.Map, this.Location ) == "Lord British Castle" || Server.Misc.Worlds.GetRegionName( this.Map, this.Location ) == "the Britain Dungeons" )
            {
                clothColor = 0x9C4;             shieldType = 0x1BC4;    helmType = 0x140E;              cloakColor = 0x845;             weapon = new VikingSword();
            }

            weapon.Movable = false;
            ((BaseWeapon)weapon).MaxHitPoints = 1000;
            ((BaseWeapon)weapon).HitPoints    = 1000;
            ((BaseWeapon)weapon).MinDamage    = 500;
            ((BaseWeapon)weapon).MaxDamage    = 900;
            AddItem(weapon);

            Item arms = new RingmailArms();

            if (World == "the Serpent Island")
            {
                arms = new PlateArms();
            }                                                                                   // FOR GARGOYLES
            Item tunic = new PlateChest();
            Item legs  = new PlateLegs();
            Item neck  = new PlateGorget();
            Item hand  = new PlateGloves();
            Item foot  = new Boots( );

            if (World == "the Isles of Dread")
            {
                tunic.ItemID = 0x5652;  tunic.Name = "tunic";
                if (this.Female)
                {
                    tunic.ItemID = 0x563E;
                    Utility.AssignRandomHair(this);
                }
                else
                {
                    Utility.AssignRandomHair(this);
                    FacialHairItemID = Utility.RandomList(0, 8254, 8255, 8256, 8257, 8267, 8268, 8269);
                }

                this.HairHue       = 0x455;
                this.FacialHairHue = 0x455;

                arms.ItemID = 22093;    arms.Name = "sleeves";
                legs.ItemID = 7176;             legs.Name = "skirt";
                neck.ItemID = 0x5650;   neck.Name = "amulet";
                hand.ItemID = 0x564E;   hand.Name = "gloves";
                foot.ItemID = 5901;             foot.Name = "sandals";
            }
            else if (World == "the Moon of Luna")
            {
                tunic.ItemID = 7939;    tunic.Name = "robe";
                if (this.Female)
                {
                    Utility.AssignRandomHair(this);
                }
                else
                {
                    Utility.AssignRandomHair(this);
                    FacialHairItemID = Utility.RandomList(0, 8254, 8255, 8256, 8257, 8267, 8268, 8269);
                }

                this.HairHue       = Utility.RandomHairHue();
                this.FacialHairHue = this.HairHue;

                arms.ItemID = 22093;    arms.Name = "sleeves";
                legs.ItemID = 7176;             legs.Name = "skirt";
                neck.ItemID = 0x5650;   neck.Name = "amulet";
                hand.ItemID = 0x564E;   hand.Name = "gloves";
                foot.ItemID = 5901;             foot.Name = "sandals";
            }

            AddItem(tunic);
            AddItem(arms);
            AddItem(legs);
            AddItem(neck);
            AddItem(hand);
            AddItem(foot);

            if (helmType > 0)
            {
                PlateHelm helm = new PlateHelm();
                helm.ItemID = helmType;
                helm.Name   = "helm";
                if (helmType == 11121)
                {
                    helm.Name = "hood";
                }
                AddItem(helm);
            }
            if (shieldType > 0)
            {
                ChaosShield shield = new ChaosShield();
                shield.ItemID = shieldType;
                shield.Name   = "shield";
                AddItem(shield);
            }

            MorphingTime.ColorMyClothes(this, clothColor);

            if (cloakColor > 0)
            {
                Cloak cloak = new Cloak();
                cloak.Hue = cloakColor;
                AddItem(cloak);
            }

            Server.Misc.MorphingTime.CheckMorph(this);

            if (Utility.RandomBool() && !Server.Misc.Worlds.InBuilding(this) && this.Map != Map.SerpentIsland)
            {
                BaseMount mount = new EvilMount();

                if (this.Map == Map.SavagedEmpire)
                {
                    mount.Body = 0x11C; mount.ItemID = 0x3E92; mount.Hue = Utility.RandomList(0xB79, 0xB19, 0xAEF, 0xACE, 0xAB0);
                }
                else if (this.Map == Map.IslesDread)
                {
                    mount.Body = 0xD5; mount.ItemID = 0x3EC5; if (Server.Misc.MyServerSettings.ClientVersion())
                    {
                        mount.Body = 0x22; mount.ItemID = 34; if (Utility.RandomBool())
                        {
                            mount.Body = 0xB1; mount.ItemID = 177;
                        }
                    }
                    else
                    {
                        mount.Hue = Utility.RandomList(0xAB1, 0xAC0, 0x92B);
                    }
                }
                else
                {
                    mount.Body = 0xE2; mount.ItemID = 0x3EA0; if (Server.Misc.MyServerSettings.ClientVersion())
                    {
                        mount.ItemID = 594;
                    }
                    else
                    {
                        mount.Hue = Utility.RandomList(0, 0, 0, 0, 0, 0x780, 0x781, 0x782, 0x783, 0x8FD, 0x8FE, 0x8FF, 0x900, 0x901, 0x902, 0x903, 0x904, 0x905, 0x906, 0x907, 0x908, Utility.RandomNeutralHue(), Utility.RandomNeutralHue(), Utility.RandomNeutralHue(), Utility.RandomNeutralHue(), Utility.RandomNeutralHue(), Utility.RandomNeutralHue());
                    }
                }

                Server.Mobiles.BaseMount.Ride(mount, this);
            }
        }
Ejemplo n.º 18
0
        public Guardian()
            : base(AIType.AI_Archer, FightMode.Aggressor, 10, 1, 0.2, 0.4)
        {
            InitStats(100, 125, 25);
            Title = "the guardian";

            SpeechHue = Utility.RandomDyedHue();

            Hue = Utility.RandomSkinHue();

            if (Female = Utility.RandomBool())
            {
                Body = 0x191;
                Name = NameList.RandomName("female");
            }
            else
            {
                Body = 0x190;
                Name = NameList.RandomName("male");
            }

            new ForestOstard().Rider = this;

            PlateChest chest = new PlateChest();

            chest.Hue = 0x966;
            AddItem(chest);
            PlateArms arms = new PlateArms();

            arms.Hue = 0x966;
            AddItem(arms);
            PlateGloves gloves = new PlateGloves();

            gloves.Hue = 0x966;
            AddItem(gloves);
            PlateGorget gorget = new PlateGorget();

            gorget.Hue = 0x966;
            AddItem(gorget);
            PlateLegs legs = new PlateLegs();

            legs.Hue = 0x966;
            AddItem(legs);
            PlateHelm helm = new PlateHelm();

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

            Bow bow = new Bow();

            bow.Movable = false;
            bow.Crafter = this;
            bow.Quality = ItemQuality.Exceptional;

            AddItem(bow);

            PackItem(new Arrow(250));
            PackItem(Loot.PackGold(250, 500));

            Skills[SkillName.Anatomy].Base      = 120.0;
            Skills[SkillName.Tactics].Base      = 120.0;
            Skills[SkillName.Archery].Base      = 120.0;
            Skills[SkillName.MagicResist].Base  = 120.0;
            Skills[SkillName.DetectHidden].Base = 100.0;
        }
Ejemplo n.º 19
0
        public IceKing() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.1, 0.4)
        {
            Name        = "Set";
            Title       = "The Ice King";
            Body        = 400;
            Hue         = 1151;
            BaseSoundID = 377;

            AddItem(new ThighBoots(0x51D));

            Item item;

            item     = new BodySash();
            item.Hue = 1151;
            AddItem(item);

            item     = new Cloak();
            item.Hue = 1151;
            AddItem(item);

            PlateArms arms = new PlateArms();

            arms.Hue     = 1151;
            arms.Movable = false;
            AddItem(arms);

            PlateChest chest = new PlateChest();

            chest.Hue     = 1151;
            chest.Movable = false;
            AddItem(chest);

            PlateGloves gloves = new PlateGloves();

            gloves.Hue     = 1151;
            gloves.Movable = false;
            AddItem(gloves);

            PlateGorget gorget = new PlateGorget();

            gorget.Hue     = 1151;
            gorget.Movable = false;
            AddItem(gorget);

            PlateHelm helm = new PlateHelm();

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

            PlateLegs legs = new PlateLegs();

            legs.Hue     = 1151;
            legs.Movable = false;
            AddItem(legs);

            SetStr(1198, 1207);
            SetDex(127, 135);
            SetInt(495, 546);

            SetHits(25000);

            SetDamage(27, 31);

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

            SetResistance(ResistanceType.Physical, 78, 89);
            SetResistance(ResistanceType.Fire, 30, 46);
            SetResistance(ResistanceType.Cold, 97, 100);
            SetResistance(ResistanceType.Poison, 71, 80);
            SetResistance(ResistanceType.Energy, 70, 80);

            SetSkill(SkillName.Wrestling, 110.4, 112.3);
            SetSkill(SkillName.Tactics, 114.0, 118.5);
            SetSkill(SkillName.MagicResist, 114.1, 132.0);
            SetSkill(SkillName.Magery, 90.9, 99.8);
            SetSkill(SkillName.EvalInt, 90.7, 98.7);
            SetSkill(SkillName.Meditation, 90.4, 98.8);

            Fame  = 24000;
            Karma = -24000;

            VirtualArmor = 80;

            PackGold(9500, 16500);

            if (Utility.RandomDouble() <= 0.15)
            {
                PackItem(new RarewoodChest());
            }
        }
        public DwarvenWarrior() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.2, 0.4)
        {
            Name      = NameList.RandomName("dwarfmale");
            Title     = "the Warrior";
            SpeechHue = Utility.RandomDyedHue();
            Hue       = Utility.RandomSkinHue();
            Body      = 0x190;
            Level     = 7;

            LongBeard facialhair = new LongBeard(Utility.RandomDyedHue());

            facialhair.Movable = false;
            AddItem(facialhair);
            PlateChest chest = new PlateChest();

            chest.Hue     = 0x966;
            chest.Movable = false;
            AddItem(chest);
            PlateArms arms = new PlateArms();

            arms.Hue     = 0x966;
            arms.Movable = false;
            AddItem(arms);
            PlateGloves gloves = new PlateGloves();

            gloves.Hue     = 0x966;
            gloves.Movable = false;
            AddItem(gloves);
            PlateGorget gorget = new PlateGorget();

            gorget.Hue     = 0x966;
            gorget.Movable = false;
            AddItem(gorget);
            PlateLegs legs = new PlateLegs();

            legs.Hue     = 0x966;
            legs.Movable = false;
            AddItem(legs);
            NorseHelm helm = new NorseHelm();

            helm.Hue     = 0x966;
            helm.Movable = false;
            AddItem(helm);
            Cloak cloak = new Cloak();

            cloak.Hue     = 0x966;
            cloak.Movable = false;
            AddItem(cloak);

            PackGold(6, 8);

            SetSkill(SkillName.MagicResist, 50.0, 61.5);
            SetSkill(SkillName.Swords, 70.0, 90.5);
            SetSkill(SkillName.Tactics, 65.0, 87.5);
            SetSkill(SkillName.Wrestling, 25.0, 47.5);

            SetStr(106, 150);
            SetDex(91, 125);
            SetInt(41, 65);
            SetHits(140, 180);
            SetDamage(9, 16);

            Karma = 1000;
            Fame  = 1000;

            switch (Utility.Random(5))
            {
            case 0: AddItem(new BattleAxe()); break;

            case 1: AddItem(new LargeBattleAxe()); break;

            case 2: AddItem(new TwoHandedAxe()); break;

            case 3: AddItem(new Axe()); break;

            case 4: AddItem(new DoubleAxe()); break;
            }
        }
Ejemplo n.º 21
0
        public MasterOfTheArts(bool i_ChampionSpawn) : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "a master of the arts"; //the name players will see
            Body        = 185;                    //how it look like in game
            BaseSoundID = 42;                     //what sound he makes (I still have problems with sound :(

            ChampionSpawn = i_ChampionSpawn;      //set if it spawn with champ spawn or normal spawn

            SetStr(401, 420);                     //set stats
            SetDex(81, 90);
            SetInt(201, 220);

            SetHits(1500, 1700);                        //set hp

            SetDamage(50, 60);                          //set how much damage ~

            SetDamageType(ResistanceType.Physical, 50); //which damage type it does
            SetDamageType(ResistanceType.Poison, 50);

            SetResistance(ResistanceType.Physical, 60, 80);               //what resists it have
            SetResistance(ResistanceType.Fire, 55, 70);
            SetResistance(ResistanceType.Cold, 55, 70);
            SetResistance(ResistanceType.Poison, 55, 70);
            SetResistance(ResistanceType.Energy, 55, 70);

            SetSkill(SkillName.Anatomy, 120.0);
            SetSkill(SkillName.Tactics, 120.0);
            SetSkill(SkillName.Macing, 120.0);

            Fame  = 30000;            //its fame/karma
            Karma = -30000;

            VirtualArmor = 50;

            PlateChest chest = new PlateChest();             //add its armor and set its hue and not movable so it won't be on loot

            chest.Hue     = 503;
            chest.Movable = false;
            AddItem(chest);

            PlateArms arms = new PlateArms();

            arms.Hue     = 503;
            arms.Movable = false;
            AddItem(arms);

            PlateGloves gloves = new PlateGloves();

            gloves.Hue     = 503;
            gloves.Movable = false;
            AddItem(gloves);

            PlateGorget gorget = new PlateGorget();

            gorget.Hue     = 503;
            gorget.Movable = false;
            AddItem(gorget);

            PlateLegs legs = new PlateLegs();

            legs.Hue     = 503;
            legs.Movable = false;
            AddItem(legs);

            WarHammer weapon = new WarHammer();             //add its weapon and set its hue and not movable so it won't be on loot

            weapon.Name    = "Crafting Union Leader's Hammer";
            weapon.Hue     = 503;
            weapon.Movable = false;
            AddItem(weapon);

            FurBoots boots = new FurBoots();             //add its boots and set its hue and not movable so it won't be on loot

            boots.Hue     = 503;
            boots.Movable = false;
            AddItem(boots);

            Item hair = new Item(8251);                //add its hair and set its hue and not movable so it won't be on loot

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

            AddItem(new Gold(500, 1000));
            if (Utility.Random(25) == 1)
            {
                AddItem(new PersonalStatueDeed());
            }

            new Mule(99.1, true).Rider = this;             //make it ride on mule
        }