Пример #1
0
        public DraculaBride() : base(AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
        {
            BaseSoundID = 0x17F;
            Blessed     = true;

            Name  = "Dolengen";
            Title = "the Countess of Gratz";

            CantWalk  = true;
            Direction = Direction.East;

            Body = 401;

            int GhostHue = 0x47E;

            Hue = GhostHue;

            Utility.AssignRandomHair(this);
            HairHue = GhostHue;

            AddItem(new Sandals());

            switch (Utility.RandomMinMax(0, 2))
            {
            case 0: AddItem(new FancyDress());    break;

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

            case 2: AddItem(new PlainDress());    break;
            }

            MorphingTime.BlessMyClothes(this);
            MorphingTime.ColorMyClothes(this, GhostHue);
        }
Пример #2
0
        public void DressSailor(BaseCreature bc)
        {
            switch (Utility.Random(3))
            {
            case 0: bc.AddItem(new FancyShirt()); break;

            case 1: bc.AddItem(new Doublet()); break;

            case 2: bc.AddItem(new Shirt()); break;
            }

            switch (Utility.Random(4))
            {
            case 0: bc.AddItem(new Shoes()); break;

            case 1: bc.AddItem(new Boots()); break;

            case 2: bc.AddItem(new ElvenBoots()); break;

            case 3: bc.AddItem(new ThighBoots()); break;
            }

            if (bc.Female)
            {
                switch (Utility.Random(6))
                {
                case 0: bc.AddItem(new ShortPants()); break;

                case 1:
                case 2: bc.AddItem(new Kilt()); break;

                case 3:
                case 4:
                case 5: bc.AddItem(new Skirt()); break;
                }
            }
            else
            {
                switch (Utility.Random(2))
                {
                case 0: bc.AddItem(new LongPants()); break;

                case 1: bc.AddItem(new ShortPants()); break;
                }
            }

            if (bc is SailorElf || bc is SailorMerchant)
            {
                bc.AddItem(new TricorneHat());
            }
            else if (Utility.RandomBool())
            {
                bc.AddItem(new SkullCap()); bc.HairItemID = 0;
            }
            else
            {
                bc.AddItem(new Bandana());
            }
            MorphingTime.SailorMyClothes(bc);
        }
Пример #3
0
        public override void OnAfterSpawn()
        {
            Server.Misc.IntelligentAction.BeforeMyBirth(this);

            if (this.Hue == 1150)
            {
                MorphingTime.BlessMyClothes(this); MorphingTime.ColorMyClothes(this, 1150);
            }
            else if (this.Hue == 0xB97)
            {
                MorphingTime.ColorMyClothes(this, 0xB9A);
            }
            else
            {
                Item helm = new WornHumanDeco();
                helm.Name   = "skull";
                helm.ItemID = 0x1451;
                helm.Hue    = this.Hue;
                helm.Layer  = Layer.Ring;
                AddItem(helm);

                Item hands = new WornHumanDeco();
                hands.Name   = "bony fingers";
                hands.ItemID = 0x1450;
                hands.Hue    = this.Hue;
                hands.Layer  = Layer.Gloves;
                AddItem(hands);
            }

            base.OnAfterSpawn();
        }
Пример #4
0
        public Kull() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "Spirit of Kull";
            Title       = "the Dragyn Rider";
            BaseSoundID = 412;
            Hue         = 1150;
            Body        = 0x190;

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

            SetHits(200, 300);

            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, 100.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);

            Fame  = 10000;
            Karma = -10000;

            VirtualArmor = 20;

            AddItem(new PlateChest());
            AddItem(new PlateArms());
            AddItem(new PlateLegs());
            AddItem(new PlateGorget());
            AddItem(new PlateGloves());
            AddItem(new OrcHelm());
            AddItem(new Longsword());
            AddItem(new OrderShield());

            MorphingTime.BlessMyClothes(this);
            MorphingTime.ColorMyClothes(this, 0x59B);

            AddItem(new LightSource());
            new GhostDragyn().Rider = this;
            ActiveSpeed             = 0.1;
            PassiveSpeed            = 0.2;
        }
Пример #5
0
        public Vordo() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body  = 400;
            Name  = "Vordo";
            Title = "of the darkest magic";
            Hue   = 0x47E;

            AddItem(new Robe());
            AddItem(new WizardsHat());
            AddItem(new ThighBoots());

            MorphingTime.BlessMyClothes(this);
            MorphingTime.ColorMyClothes(this, 1194);

            BaseSoundID = 412;

            SetStr(171, 200);
            SetDex(126, 145);
            SetInt(276, 305);

            SetHits(11103, 11120);

            SetDamage(24, 26);

            SetDamageType(ResistanceType.Physical, 10);
            SetDamageType(ResistanceType.Cold, 40);
            SetDamageType(ResistanceType.Energy, 50);

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

            SetSkill(SkillName.Necromancy, 89, 99.1);
            SetSkill(SkillName.SpiritSpeak, 90.0, 99.0);

            SetSkill(SkillName.EvalInt, 100.0);
            SetSkill(SkillName.Magery, 70.1, 80.0);
            SetSkill(SkillName.Meditation, 85.1, 95.0);
            SetSkill(SkillName.MagicResist, 80.1, 100.0);
            SetSkill(SkillName.Tactics, 70.1, 90.0);

            Fame  = 12000;
            Karma = -12000;

            VirtualArmor = 40;
            PackNecroReg(17, 24);

            AddItem(new LightSource());
        }
Пример #6
0
        public GrundulVarg() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "Grundul Varg";
            Title       = "the Slayer of Men";
            BaseSoundID = 412;
            Hue         = 1150;
            Body        = 0x190;

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

            SetHits(200, 300);

            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, 100.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);

            Fame  = 10000;
            Karma = -10000;

            VirtualArmor = 20;

            AddItem(new PlateChest());
            AddItem(new PlateArms());
            AddItem(new PlateLegs());
            AddItem(new PlateGorget());
            AddItem(new PlateGloves());
            AddItem(new OrcHelm());
            AddItem(new RoyalSword());
            AddItem(new ChaosShield());

            MorphingTime.BlessMyClothes(this);
            MorphingTime.ColorMyClothes(this, 1167);

            AddItem(new LightSource());
        }
Пример #7
0
 public override void OnAfterSpawn()
 {
     if (Utility.RandomBool())
     {
         IntelligentAction.GiveBasicWepShld(this);
         if (this.FindItemOnLayer(Layer.OneHanded) != null)
         {
             MorphingTime.MakeSpaceAceItem(this.FindItemOnLayer(Layer.OneHanded), this);
         }
         if (this.FindItemOnLayer(Layer.TwoHanded) != null)
         {
             MorphingTime.MakeSpaceAceItem(this.FindItemOnLayer(Layer.TwoHanded), this);
         }
     }
     base.OnAfterSpawn();
 }
Пример #8
0
        public override void OnAfterSpawn()
        {
            Server.Misc.IntelligentAction.ChooseFighter(this, "undead ");

            if (this.Hue == 1150)
            {
                MorphingTime.BlessMyClothes(this); MorphingTime.ColorMyClothes(this, 1150);
            }
            else if (this.Hue == 0xB97)
            {
                MorphingTime.ColorMyClothes(this, 0xB9A);
            }
            else
            {
                Item helm = new WornHumanDeco();
                helm.Name   = "skull";
                helm.ItemID = 0x1451;
                helm.Hue    = this.Hue;
                helm.Layer  = Layer.Helm;
                AddItem(helm);
            }

            base.OnAfterSpawn();
        }
Пример #9
0
        public SavageAlien() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "an alien savage";

            Hue = Utility.RandomList(0x6F6, 0x97F, 0x99B, 0x6E4, 0x5E0, 0xB38, 0xB2B);

            string metal = Server.Misc.MorphingTime.GetSpaceAceMetalName();
            string cloth = Server.Misc.MorphingTime.GetSpaceAceClothName();
            string bone  = Server.Misc.MorphingTime.GetSpaceAceBoneName();
            string wood  = Server.Misc.MorphingTime.GetSpaceAceWoodName();

            if (Female = Utility.RandomBool())
            {
                Body = 401;
            }
            else
            {
                Body = 400;
            }

            SetStr(336, 385);
            SetDex(281, 305);
            SetInt(96, 115);

            SetHits(202, 231);
            SetMana(0);

            SetDamage(7, 23);

            SetDamageType(ResistanceType.Physical, 100);

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

            SetSkill(SkillName.MagicResist, 125.1, 140.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);
            SetSkill(SkillName.Wrestling, 90.1, 100.0);

            SetSkill(SkillName.Fencing, 125.1, 140.0);
            SetSkill(SkillName.Macing, 125.1, 140.0);
            SetSkill(SkillName.Wrestling, 125.1, 140.0);
            SetSkill(SkillName.MagicResist, 67.5, 100.0);
            SetSkill(SkillName.Swords, 125.1, 140.0);
            SetSkill(SkillName.Tactics, 125.1, 140.0);

            Fame  = 10000;
            Karma = -10000;

            VirtualArmor = 50;

            Item cloth1 = new SavageArms();

            MorphingTime.MakeSpaceAceBoneArmor(cloth1, bone, false);
            AddItem(cloth1);
            Item cloth2 = new SavageLegs();

            MorphingTime.MakeSpaceAceBoneArmor(cloth2, bone, false);
            AddItem(cloth2);
            Item cloth3 = new LeatherSkirt();

            cloth3.Name = "skin skirt";
            MorphingTime.MakeSpaceAceBoneArmor(cloth3, bone, true);
            cloth3.Layer = Layer.Waist;
            AddItem(cloth3);

            switch (Utility.RandomMinMax(0, 3))
            {
            case 0: Item cloth4 = new OrcHelm(); MorphingTime.MakeSpaceAceBoneArmor(cloth4, bone, false); AddItem(cloth4); break;

            case 1: Item cloth5 = new SavageHelm(); MorphingTime.MakeSpaceAceBoneArmor(cloth5, bone, false); AddItem(cloth5); break;

            case 2: Item cloth6 = new TribalMask(); cloth6.Name = "skin mask"; MorphingTime.MakeSpaceAceBoneArmor(cloth6, bone, true); AddItem(cloth6); break;
            }

            if (Utility.RandomMinMax(1, 10) == 1)
            {
                Item cloth7 = new SavageChest();
                MorphingTime.MakeSpaceAceBoneArmor(cloth7, bone, false);
                AddItem(cloth7);
            }
            else if (Female)
            {
                Item cloth8 = new FemaleLeatherChest();
                cloth8.Name = "skin tunic";
                MorphingTime.MakeSpaceAceBoneArmor(cloth8, bone, true);
                AddItem(cloth8);
            }

            IntelligentAction.GiveBasicWepShld(this);

            if (this.FindItemOnLayer(Layer.OneHanded) != null)
            {
                if (MaterialInfo.IsAnyKindOfMetalItem(this.FindItemOnLayer(Layer.OneHanded)))
                {
                    MorphingTime.MakeSpaceAceMetalArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), metal);
                }
                else if (MaterialInfo.IsAnyKindOfClothItem(this.FindItemOnLayer(Layer.OneHanded)))
                {
                    MorphingTime.MakeSpaceAceClothArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), cloth);
                }
                else if (MaterialInfo.IsAnyKindOfWoodItem(this.FindItemOnLayer(Layer.OneHanded)))
                {
                    MorphingTime.MakeSpaceAceWoodArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), wood);
                }
            }

            if (this.FindItemOnLayer(Layer.TwoHanded) != null)
            {
                Item hand = this.FindItemOnLayer(Layer.TwoHanded);

                if (hand is BaseShield)
                {
                    switch (Utility.RandomMinMax(1, 4))
                    {
                    case 1: hand.ItemID = 0x1B76; hand.Name = "hull plate";         break;

                    case 2: hand.ItemID = 0x1B76; hand.Name = "deck plate";         break;

                    case 3: hand.ItemID = 0x1B72; hand.Name = "hatch door";         break;

                    case 4: hand.ItemID = 0x1B7B; hand.Name = "hatch cover";        break;
                    }
                    MorphingTime.MakeSpaceAceMetalArmorWeapon(hand, metal);
                }
                else if (MaterialInfo.IsAnyKindOfMetalItem(hand))
                {
                    MorphingTime.MakeSpaceAceMetalArmorWeapon(hand, metal);
                }
                else if (MaterialInfo.IsAnyKindOfClothItem(hand))
                {
                    MorphingTime.MakeSpaceAceClothArmorWeapon(hand, cloth);
                }
                else if (MaterialInfo.IsAnyKindOfWoodItem(hand))
                {
                    MorphingTime.MakeSpaceAceWoodArmorWeapon(hand, wood);
                }
            }
        }
Пример #10
0
        public void DressUpCrewMember(BaseCreature bc, Mobile captain)
        {
            if (captain is PirateDrow)
            {
                bc.AddItem(new ElvenBoots(0x6F8));
                Item armor = new LeatherChest(); armor.Hue = 0x6F8; bc.AddItem(armor);
                bc.AddItem(new FancyShirt(0));
                switch (Utility.Random(2))
                {
                case 0: bc.AddItem(new LongPants(0xBB4)); break;

                case 1: bc.AddItem(new ShortPants(0xBB4)); break;
                }
                switch (Utility.Random(2))
                {
                case 0: bc.AddItem(new Bandana(0x846)); break;

                case 1: bc.AddItem(new SkullCap(0x846)); break;
                }
            }
            else if (captain is PirateMen)
            {
                bc.AddItem(new ElvenBoots(0x83A));
                Item armor = new LeatherChest(); armor.Hue = 0x83A; bc.AddItem(armor);
                bc.AddItem(new FancyShirt(0));
                switch (Utility.Random(2))
                {
                case 0: bc.AddItem(new LongPants(0xBB4)); break;

                case 1: bc.AddItem(new ShortPants(0xBB4)); break;
                }

                switch (Utility.Random(2))
                {
                case 0: bc.AddItem(new Bandana(0x846)); break;

                case 1: bc.AddItem(new SkullCap(0x846)); break;
                }
            }
            else if (captain is PirateNatives)
            {
                bc.Hue     = 743;
                bc.HairHue = 0x96C;

                if (bc.Female)
                {
                    Item cloth9 = new FemaleLeatherChest();
                    cloth9.Hue  = 773;
                    cloth9.Name = "Native Tunic";
                    bc.AddItem(cloth9);
                }
                Item cloth1 = new SavageArms();
                cloth1.Hue  = 773;
                cloth1.Name = "Native Guantlets";
                bc.AddItem(cloth1);
                Item cloth2 = new SavageLegs();
                cloth2.Hue  = 773;
                cloth2.Name = "Native Leggings";
                bc.AddItem(cloth2);
                Item cloth3 = new TribalMask();
                cloth3.Hue  = 773;
                cloth3.Name = "Native Tribal Mask";
                bc.AddItem(cloth3);
                Item cloth4 = new LeatherSkirt();
                cloth4.Hue   = 773;
                cloth4.Name  = "Native Skirt";
                cloth4.Layer = Layer.Waist;
                bc.AddItem(cloth4);
            }
            else if (captain is PirateCult)
            {
                bc.AddItem(new Robe(0));
                switch (Utility.RandomMinMax(0, 2))
                {
                case 0: bc.AddItem(new ClothCowl()); break;

                case 1: bc.AddItem(new ClothHood()); break;

                case 2: bc.AddItem(new FancyHood()); break;
                }
                MorphingTime.ColorMyClothes(bc, captain.SpeechHue);
                bc.AddItem(new ElvenBoots(0x83A));

                if (bc.FindItemOnLayer(Layer.OneHanded) != null)
                {
                    Item hand = bc.FindItemOnLayer(Layer.OneHanded); hand.ItemID = 0x13C6; hand.Name = "gloves"; hand.MoveToWorld(captain.Location, captain.Map); bc.AddItem(hand);
                }
                if (bc.FindItemOnLayer(Layer.TwoHanded) != null)
                {
                    Item hand = bc.FindItemOnLayer(Layer.TwoHanded); hand.ItemID = 0x13C6; hand.Name = "gloves"; hand.MoveToWorld(captain.Location, captain.Map); bc.AddItem(hand);
                }
            }
            else if (captain is SailorGuards || captain is SailorElfGuards || captain is SailorOrkGuards)
            {
                DressGuards(bc, captain);
                if (captain is SailorElfGuards)
                {
                    bc.HairHue = Utility.RandomHairHue(); bc.Hue = Utility.RandomSkinColor();
                }
            }
            else if (captain is SailorMerchant || captain is SailorElf)
            {
                DressSailor(bc);
                if (captain is SailorElf)
                {
                    bc.HairHue = Utility.RandomHairHue(); bc.Hue = Utility.RandomSkinColor();
                }
                if (bc.FindItemOnLayer(Layer.OneHanded) != null)
                {
                    Item hand = bc.FindItemOnLayer(Layer.OneHanded);
                    if (hand is MonsterGloves)
                    {
                        hand.ItemID = 0x1087;
                        hand.Hue    = 0;
                        hand.Name   = "earrings";
                        hand.MoveToWorld(captain.Location, captain.Map);
                        bc.AddItem(hand);
                    }
                }
            }
        }
Пример #11
0
        public LostKnight() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = NameList.RandomName("barb_male");
            Title       = "the lost knight";
            BaseSoundID = 412;
            Hue         = 1;
            Body        = 0x190;

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

            SetHits(200, 300);

            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, 100.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);

            Fame  = 10000;
            Karma = -10000;

            VirtualArmor = 20;

            Item armor1 = new PlateChest();

            AddItem(armor1);
            Item armor2 = new PlateArms();

            AddItem(armor2);
            Item armor3 = new PlateLegs();

            AddItem(armor3);
            Item armor4 = new PlateGorget();

            AddItem(armor4);
            Item armor5 = new PlateGloves();

            AddItem(armor5);
            Item armor6 = new PlateHelm();

            AddItem(armor6);
            Item armor7 = new Longsword();

            AddItem(armor7);
            Item armor8 = new OrderShield();

            AddItem(armor8);

            MorphingTime.BlessMyClothes(this);
            MorphingTime.ColorMyClothes(this, 0x47E);

            if (1 == Utility.RandomMinMax(0, 2))
            {
                switch (Utility.RandomMinMax(0, 7))
                {
                case 0: armor1.LootType = LootType.Regular; MorphingItem.MorphMyItem(armor1, "IGNORED", "Spectral", "IGNORED", MorphingTemplates.TemplateLostKnight("armors")); break;

                case 1: armor2.LootType = LootType.Regular; MorphingItem.MorphMyItem(armor2, "IGNORED", "Spectral", "IGNORED", MorphingTemplates.TemplateLostKnight("armors")); break;

                case 2: armor3.LootType = LootType.Regular; MorphingItem.MorphMyItem(armor3, "IGNORED", "Spectral", "IGNORED", MorphingTemplates.TemplateLostKnight("armors")); break;

                case 3: armor4.LootType = LootType.Regular; MorphingItem.MorphMyItem(armor4, "IGNORED", "Spectral", "IGNORED", MorphingTemplates.TemplateLostKnight("armors")); break;

                case 4: armor5.LootType = LootType.Regular; MorphingItem.MorphMyItem(armor5, "IGNORED", "Spectral", "IGNORED", MorphingTemplates.TemplateLostKnight("armors")); break;

                case 5: armor6.LootType = LootType.Regular; MorphingItem.MorphMyItem(armor6, "IGNORED", "Spectral", "IGNORED", MorphingTemplates.TemplateLostKnight("armors")); break;

                case 6: armor7.LootType = LootType.Regular; MorphingItem.MorphMyItem(armor7, "IGNORED", "Spectral", "IGNORED", MorphingTemplates.TemplateLostKnight("weapons")); break;

                case 7: armor8.LootType = LootType.Regular; MorphingItem.MorphMyItem(armor8, "IGNORED", "Spectral", "IGNORED", MorphingTemplates.TemplateLostKnight("armors")); break;
                }
            }

            AddItem(new LightSource());
        }
Пример #12
0
        public GhostWizard() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            switch (Utility.RandomMinMax(0, 1))
            {
            case 0: Body = 401;     break;

            case 1: Body = 400;     break;
            }

            switch (Utility.RandomMinMax(0, 8))
            {
            case 0: Name = "a ghost";               break;

            case 1: Name = "a spirit";              break;

            case 2: Name = "a phantom";             break;

            case 3: Name = "a shadow";              break;

            case 4: Name = "an apparition"; break;

            case 5: Name = "a haunt";               break;

            case 6: Name = "a shade";               break;

            case 7: Name = "a spectre";             break;

            case 8: Name = "a wraith";              break;
            }

            int GhostHue = 0x47E;

            Hue = GhostHue;

            if (1 == Utility.RandomMinMax(1, 2))
            {
                Utility.AssignRandomHair(this); HairHue = GhostHue;
            }

            switch (Utility.RandomMinMax(0, 1))
            {
            case 0: AddItem(new Boots());                 break;

            case 1: AddItem(new ThighBoots());    break;
            }

            if (1 == Utility.RandomMinMax(1, 2))
            {
                AddItem(new Cloak());
            }
            if (1 == Utility.RandomMinMax(1, 2))
            {
                switch (Utility.RandomMinMax(0, 6))
                {
                case 0: AddItem(new WizardsHat());    break;

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

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

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

                case 4: AddItem(new ClothHood());             break;

                case 5: AddItem(new ClothCowl());             break;

                case 6: AddItem(new FancyHood());             break;
                }
            }

            if (Body == 400)
            {
                AddItem(new Robe());
            }
            else
            {
                switch (Utility.RandomMinMax(0, 2))
                {
                case 0: AddItem(new FancyDress());    break;

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

                case 2: AddItem(new PlainDress());    break;
                }
            }

            MorphingTime.BlessMyClothes(this);
            MorphingTime.ColorMyClothes(this, GhostHue);

            BaseSoundID = 0x482;

            SetStr(81, 105);
            SetDex(91, 115);
            SetInt(96, 120);

            SetHits(49, 63);

            SetDamage(5, 10);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 15, 20);
            SetResistance(ResistanceType.Fire, 5, 10);
            SetResistance(ResistanceType.Poison, 5, 10);
            SetResistance(ResistanceType.Energy, 5, 10);

            SetSkill(SkillName.EvalInt, 75.1, 100.0);
            SetSkill(SkillName.Magery, 75.1, 100.0);
            SetSkill(SkillName.MagicResist, 75.0, 97.5);
            SetSkill(SkillName.Tactics, 65.0, 87.5);
            SetSkill(SkillName.Wrestling, 20.2, 60.0);

            Fame  = 2500;
            Karma = -2500;

            VirtualArmor = 16;
            PackReg(Utility.RandomMinMax(1, 5));
            PackReg(Utility.RandomMinMax(1, 5));
            PackReg(Utility.RandomMinMax(1, 5));

            AddItem(new LightSource());
        }
Пример #13
0
        public SkeletalPirate() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "a skeletal pirate";
            BaseSoundID = 451;

            Body = 0x190;
            if (Utility.RandomMinMax(0, 1) == 1)
            {
                Body = 0x191;
            }

            Hue = 0xB97;

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

            SetHits(118, 150);

            SetDamage(8, 18);

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

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

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

            Fame  = 3000;
            Karma = -3000;

            VirtualArmor = 40;

            AddItem(new LongPants());
            AddItem(new FancyShirt());

            switch (Utility.Random(3))
            {
            case 0: AddItem(new Longsword()); break;

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

            case 2: AddItem(new Dagger()); break;
            }

            MorphingTime.BlessMyClothes(this);
            MorphingTime.ColorMyClothes(this, 0xB9A);

            Item helm = new WornHumanDeco();

            helm.Name   = "skull";
            helm.ItemID = 0x1451;
            helm.Hue    = this.Hue;
            helm.Layer  = Layer.Helm;
            AddItem(helm);

            Item hands = new WornHumanDeco();

            hands.Name   = "bony fingers";
            hands.ItemID = 0x1450;
            hands.Hue    = this.Hue;
            hands.Layer  = Layer.Gloves;
            AddItem(hands);

            Item feet = new WornHumanDeco();

            feet.Name   = "bony feet";
            feet.ItemID = 0x170D;
            feet.Hue    = this.Hue;
            feet.Layer  = Layer.Shoes;
            AddItem(feet);

            int[] list = new int[]
            {
                0x1B11, 0x1B12, 0x1B13, 0x1B14, 0x1B15, 0x1B16, 0x1B19, 0x1B1A, // bone parts
                0x1AE0, 0x1AE1, 0x1AE2, 0x1AE3, 0x1AE4,                         // skulls
                0x1B17, 0x1B18, 0x1B1B, 0x1B1C,                                 // ribs and spines
                0x1B09, 0x1B0A, 0x1B0B, 0x1B0C, 0x1B0D, 0x1B0E, 0x1B0F, 0x1B10, // bone piles
                0xECA, 0xECB, 0xECC, 0xECD, 0xECE, 0xECF, 0xED0, 0xED1, 0xED2   // bones
            };

            PackItem(new BodyPart(Utility.RandomList(list)));
        }
Пример #14
0
        public PirateCult()
        {
            SpeechHue = Utility.RandomColor(0);
            Title     = "of the Leviathan Cult";
            string cult = "Cult";

            switch (Utility.RandomMinMax(1, 8))
            {
            case 1: cult = "Cult";          break;

            case 2: cult = "Order";         break;

            case 3: cult = "Clan";          break;

            case 4: cult = "Faith";         break;

            case 5: cult = "Sect";          break;

            case 6: cult = "Faction";       break;

            case 7: cult = "Glory";         break;

            case 8: cult = "Rite";          break;
            }
            switch (Utility.RandomMinMax(1, 8))
            {
            case 1: Title = "of the Leviathan " + cult;             break;

            case 2: Title = "of the Krakoa " + cult;                break;

            case 3: Title = "of the Dagon " + cult;                 break;

            case 4: Title = "of the Hydros " + cult;                break;

            case 5: Title = "of the Kraken " + cult;                break;

            case 6: Title = "of the Storm Giant " + cult;   break;

            case 7: Title = "of the Jormungandr " + cult;   break;

            case 8: Title = "of the Dragon Turtle " + cult; break;
            }

            Hue = Utility.RandomSkinColor();

            if (this.Female = Utility.RandomBool())
            {
                Body = 0x191;
                Name = NameList.RandomName("female");
                Utility.AssignRandomHair(this);
                HairHue = Utility.RandomHairHue();
            }
            else
            {
                Body = 0x190;
                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;
            }

            AddItem(new Robe(0));
            MorphingTime.ColorMyClothes(this, SpeechHue);

            int hood = Utility.RandomColor(0);

            AddItem(new Cloak(hood));
            switch (Utility.RandomMinMax(0, 2))
            {
            case 0: AddItem(new ClothCowl(hood)); break;

            case 1: AddItem(new ClothHood(hood)); break;

            case 2: AddItem(new FancyHood(hood)); break;
            }

            AddItem(new ElvenBoots(0x83A));

            WizardStaff staff = new WizardStaff();

            switch (Utility.RandomMinMax(1, 5))
            {
            case 1: staff.AosElementDamages.Fire = 75; staff.damageType = 1;        break;

            case 2: staff.AosElementDamages.Cold = 75; staff.damageType = 2;        break;

            case 3: staff.AosElementDamages.Energy = 75; staff.damageType = 3;      break;

            case 4: staff.AosElementDamages.Poison = 75; staff.damageType = 4;      break;

            case 5: staff.damageType = 0;                                                                           break;
            }
            AddItem(staff);

            AI        = AIType.AI_Mage;
            FightMode = FightMode.Closest;
            ship      = AverageShip();

            switch (Utility.RandomMinMax(1, 5))
            {
            case 1: ship.Hue = ShipColor("");                     break;

            case 2: ship.Hue = ShipColor("demon");        break;

            case 3: ship.Hue = ShipColor("undead");       break;

            case 4: ship.Hue = ShipColor("titan");        break;

            case 5: ship.Hue = ShipColor("lizard");       break;
            }

            SetStr(786, 985);
            SetDex(177, 255);
            SetInt(151, 250);

            SetHits(592, 711);

            SetDamage(22, 29);

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

            SetResistance(ResistanceType.Physical, 65, 80);
            SetResistance(ResistanceType.Fire, 60, 80);
            SetResistance(ResistanceType.Cold, 50, 60);
            SetResistance(ResistanceType.Poison, 100);
            SetResistance(ResistanceType.Energy, 40, 50);

            SetSkill(SkillName.Anatomy, 25.1, 50.0);
            SetSkill(SkillName.EvalInt, 90.1, 100.0);
            SetSkill(SkillName.Magery, 95.5, 100.0);
            SetSkill(SkillName.Meditation, 25.1, 50.0);
            SetSkill(SkillName.MagicResist, 100.5, 150.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);
            SetSkill(SkillName.Wrestling, 90.1, 100.0);

            Fame  = 20000;
            Karma = -20000;

            VirtualArmor = 90;
            healme       = "Heal me my followers!";
        }
Пример #15
0
        public void SizeUpCrewMember(BaseCreature bc, bool evil, int link, Mobile captain, string toss)
        {
            MorphingTime.RemoveMyClothes((Mobile)bc);

            if (bc.Backpack != null)
            {
                List <Item> belongings = new List <Item>();
                foreach (Item i in bc.Backpack.Items)
                {
                    belongings.Add(i);
                }
                foreach (Item stuff in belongings)
                {
                    stuff.Delete();
                }
            }

            bc.AI        = AIType.AI_Archer;
            bc.FightMode = FightMode.Evil;
            bc.Karma     = 1500;
            bc.Name      = "a sailor";

            if (evil)
            {
                bc.FightMode = FightMode.Closest;
                bc.Karma     = -1500;
                bc.Name      = "a pirate";
                if (captain is PirateCult)
                {
                    bc.Name = "a follower";
                }
            }

            bc.SetStr(96, 120);
            bc.SetDex(81, 105);
            bc.SetInt(36, 60);

            bc.SetHits(58, 72);

            SetDamage(10, 23);

            bc.SetDamageType(ResistanceType.Physical, 100);

            bc.SetResistance(ResistanceType.Physical, 35, 50);
            bc.SetResistance(ResistanceType.Fire, 10, 30);
            bc.SetResistance(ResistanceType.Cold, 10, 30);
            bc.SetResistance(ResistanceType.Poison, 10, 30);
            bc.SetResistance(ResistanceType.Energy, 10, 30);

            bc.SetSkill(SkillName.Archery, 66.0, 97.5);
            bc.SetSkill(SkillName.MagicResist, 25.0, 47.5);
            bc.SetSkill(SkillName.Tactics, 65.0, 87.5);
            bc.SetSkill(SkillName.Wrestling, 66.0, 97.5);

            bc.Fame = 1500;

            bc.VirtualArmor = 32;

            bc.Title    = null;
            bc.EmoteHue = link;

            if (toss == "stones")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Stones"; bc.AddItem(gloves);
            }
            else if (toss == "stars")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Stars"; bc.AddItem(gloves);
            }
            else if (toss == "axes")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Axes"; bc.AddItem(gloves);
            }
            else if (toss == "daggers")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Daggers"; bc.AddItem(gloves);
            }
            else if (toss == "darts")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Darts"; bc.AddItem(gloves);
            }
            else if (toss == "spear")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Spear"; bc.AddItem(gloves);
            }
            else if (toss == "boulder")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Boulder"; bc.AddItem(gloves);
            }
            else if (toss == "bones")
            {
                MonsterGloves gloves = new MonsterGloves(); gloves.ThrowType = "Bones"; bc.AddItem(gloves);
            }
            else if (toss == "arrows")
            {
                bc.AddItem(new Bow());
            }
            else if (toss == "crossbow")
            {
                bc.AddItem(new Crossbow());
            }
            else if (toss == "harpoon")
            {
                bc.AddItem(new Harpoon());
            }

            else if (toss == "fire")
            {
                WizardStaff staff = new WizardStaff(); staff.AosElementDamages.Fire = 75; staff.damageType = 1; bc.AddItem(staff);
            }
            else if (toss == "cold")
            {
                WizardStaff staff = new WizardStaff(); staff.AosElementDamages.Cold = 75; staff.damageType = 2; bc.AddItem(staff);
            }
            else if (toss == "energy")
            {
                WizardStaff staff = new WizardStaff(); staff.AosElementDamages.Energy = 75; staff.damageType = 3; bc.AddItem(staff);
            }
            else if (toss == "poison")
            {
                WizardStaff staff = new WizardStaff(); staff.AosElementDamages.Poison = 75; staff.damageType = 4; bc.AddItem(staff);
            }
            else if (toss == "bolt")
            {
                WizardStaff staff = new WizardStaff(); staff.damageType = 0; bc.AddItem(staff);
            }

            DressUpCrewMember(bc, captain);
            bc.NameColor();
            bc.MoveToWorld(captain.Location, captain.Map);
        }
Пример #16
0
        public Murk() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "Murk";
            Title       = "the Slayer of the Coast";
            BaseSoundID = 412;
            Hue         = 0x430;
            Body        = 0x190;

            FacialHairItemID = 0x204C;       // BEARD
            HairItemID       = 0x203C;       // LONG HAIR
            FacialHairHue    = 0x430;
            HairHue          = 0x430;

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

            SetHits(200, 300);

            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, 100.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);

            Fame  = 10000;
            Karma = -10000;

            VirtualArmor = 20;

            PirateChest MyChest = new PirateChest(12, null);

            MyChest.ContainerOwner = "Murk's Lost Treasure Chest";
            PackItem(MyChest);

            AddItem(new StuddedChest());
            AddItem(new StuddedArms());
            AddItem(new StuddedLegs());
            AddItem(new StuddedGorget());
            AddItem(new StuddedGloves());
            AddItem(new TricorneHat());
            AddItem(new Scimitar());
            AddItem(new Buckler());
            AddItem(new Boots());

            MorphingTime.BlessMyClothes(this);
            MorphingTime.ColorMyClothes(this, 0x430);

            AddItem(new LightSource());
        }
Пример #17
0
        public GhostPirate() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            switch (Utility.RandomMinMax(0, 1))
            {
            case 0: Body = 401;     break;

            case 1: Body = 400;     break;
            }

            switch (Utility.RandomMinMax(0, 8))
            {
            case 0: Name = "a ghost";               break;

            case 1: Name = "a spirit";              break;

            case 2: Name = "a phantom";             break;

            case 3: Name = "a shadow";              break;

            case 4: Name = "a apparition";  break;

            case 5: Name = "a haunt";               break;

            case 6: Name = "a shade";               break;

            case 7: Name = "a spectre";             break;

            case 8: Name = "a wraith";              break;
            }

            int GhostHue = 0x47E;

            Hue = GhostHue;

            if (1 == Utility.RandomMinMax(1, 2))
            {
                Utility.AssignRandomHair(this); HairHue = GhostHue;
            }

            switch (Utility.RandomMinMax(0, 1))
            {
            case 0: AddItem(new Boots());                 break;

            case 1: AddItem(new ThighBoots());    break;
            }

            switch (Utility.Random(1))
            {
            case 0: AddItem(new LongPants(Utility.RandomRedHue())); break;

            case 1: AddItem(new ShortPants(Utility.RandomRedHue())); break;
            }
            switch (Utility.Random(3))
            {
            case 0: AddItem(new FancyShirt(Utility.RandomRedHue())); break;

            case 1: AddItem(new Shirt(Utility.RandomRedHue())); break;

            case 2: AddItem(new Doublet(Utility.RandomRedHue())); break;
            }
            switch (Utility.Random(3))
            {
            case 0: AddItem(new Bandana(Utility.RandomRedHue())); break;

            case 1: AddItem(new SkullCap(Utility.RandomRedHue())); break;
            }

            switch (Utility.Random(3))
            {
            case 0: AddItem(new Longsword()); break;

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

            case 2: AddItem(new Dagger()); break;
            }

            MorphingTime.BlessMyClothes(this);
            MorphingTime.ColorMyClothes(this, GhostHue);

            BaseSoundID = 0x482;

            SetStr(86, 100);
            SetDex(81, 95);
            SetInt(61, 75);

            SetDamage(10, 23);

            SetSkill(SkillName.Fencing, 66.0, 97.5);
            SetSkill(SkillName.Macing, 65.0, 87.5);
            SetSkill(SkillName.MagicResist, 65.0, 87.5);
            SetSkill(SkillName.Swords, 65.0, 87.5);
            SetSkill(SkillName.Tactics, 65.0, 87.5);
            SetSkill(SkillName.Wrestling, 15.0, 37.5);

            Fame  = 1000;
            Karma = -1000;

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 15, 20);
            SetResistance(ResistanceType.Cold, 20, 30);
            SetResistance(ResistanceType.Poison, 5, 10);

            VirtualArmor = 18;

            AddItem(new LightSource());
        }
Пример #18
0
        public BlackKnight() : 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 Black Knight";

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

            SetHits(230);

            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  = 7000;
            Karma = -7000;

            VirtualArmor = 30;

            PlateChest  bk_chest  = new PlateChest(); AddItem(bk_chest);
            PlateArms   bk_arms   = new PlateArms(); AddItem(bk_arms);
            PlateLegs   bk_legs   = new PlateLegs(); AddItem(bk_legs);
            PlateGorget bk_gorget = new PlateGorget(); AddItem(bk_gorget);
            PlateGloves bk_gloves = new PlateGloves(); AddItem(bk_gloves);
            PlateHelm   bk_helm   = new PlateHelm(); AddItem(bk_helm);
            VikingSword bk_sword  = new VikingSword(); AddItem(bk_sword);
            ChaosShield bk_shield = new ChaosShield(); AddItem(bk_shield);

            AddItem(new Boots( ));

            if (90 < Utility.Random(100))
            {
                switch (Utility.RandomMinMax(0, 7))
                {
                case 0: MorphingItem.MorphMyItem(bk_chest, "Black Knight", "IGNORED", "IGNORED", MorphingTemplates.TemplateBlackKnight("armors")); break;

                case 1: MorphingItem.MorphMyItem(bk_arms, "Black Knight", "IGNORED", "IGNORED", MorphingTemplates.TemplateBlackKnight("armors")); break;

                case 2: MorphingItem.MorphMyItem(bk_legs, "Black Knight", "IGNORED", "IGNORED", MorphingTemplates.TemplateBlackKnight("armors")); break;

                case 3: MorphingItem.MorphMyItem(bk_gorget, "Black Knight", "IGNORED", "IGNORED", MorphingTemplates.TemplateBlackKnight("armors")); break;

                case 4: MorphingItem.MorphMyItem(bk_gloves, "Black Knight", "IGNORED", "IGNORED", MorphingTemplates.TemplateBlackKnight("armors")); break;

                case 5: MorphingItem.MorphMyItem(bk_helm, "Black Knight", "IGNORED", "IGNORED", MorphingTemplates.TemplateBlackKnight("armors")); break;

                case 6: MorphingItem.MorphMyItem(bk_sword, "Black Knight", "IGNORED", "IGNORED", MorphingTemplates.TemplateBlackKnight("weapons")); break;

                case 7: MorphingItem.MorphMyItem(bk_shield, "Black Knight", "IGNORED", "IGNORED", MorphingTemplates.TemplateBlackKnight("armors")); break;
                }
            }

            MorphingTime.ColorMyClothes(this, 0x497);
        }
Пример #19
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 = 0x482;             shieldType = 0x1B74;    helmType = 0x1412;              cloakColor = 0x542;             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 = 0x1B76;    helmType = 0x140E;              cloakColor = 0x9C4;             weapon = new DiamondMace();
            }
            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 = 0;                 helmType = 0x2645;              cloakColor = 0x973;             weapon = new OrnateAxe();
            }
            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);

            AddItem(new PlateChest());
            if (World == "the Serpent Island")
            {
                AddItem(new RingmailArms());
            }
            else
            {
                AddItem(new PlateArms());
            }                                                                                                                       // FOR GARGOYLES
            AddItem(new PlateLegs());
            AddItem(new PlateGorget());
            AddItem(new PlateGloves());
            AddItem(new Boots( ));

            if (helmType > 0)
            {
                PlateHelm helm = new PlateHelm();
                helm.ItemID = helmType;
                helm.Name   = "helm";
                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);
        }
Пример #20
0
        public void DressGuards(BaseCreature bc, Mobile captain)
        {
            int clothColor = 0;
            int helmType   = 0;
            int cloakColor = 0;

            if (captain.Title == "of the Whisper Guard")
            {
                clothColor = 0x96D;             helmType = 0x140E;              cloakColor = 0x972;
            }
            else if (captain.Title == "of the Glacial Guard")
            {
                clothColor = 0xB70;             helmType = 0x1412;              cloakColor = 0xB7A;
            }
            else if (captain.Title == "of the Springvale Guard")
            {
                clothColor = 0x595;             helmType = 0x140E;              cloakColor = 0x593;
            }
            else if (captain.Title == "of the Elidor Guard")
            {
                clothColor = 0x665;             helmType = 0x1412;              cloakColor = 0x664;
            }
            else if (captain.Title == "of the Islegem Guard")
            {
                clothColor = 0x7D1;             helmType = 0x140E;              cloakColor = 0x7D6;
            }
            else if (captain.Title == "of the Greensky Guard")
            {
                clothColor = 0x7D7;             helmType = 0x1412;              cloakColor = 0x7DA;
            }
            else if (captain.Title == "of the Dusk Guard")
            {
                clothColor = 0x601;             helmType = 0x140E;              cloakColor = 0x600;
            }
            else if (captain.Title == "of the Starguide Guard")
            {
                clothColor = 0x751;             helmType = 0x1412;              cloakColor = 0x758;
            }
            else if (captain.Title == "of the Portshine Guard")
            {
                clothColor = 0x847;             helmType = 0x140E;              cloakColor = 0x851;
            }
            else if (captain.Title == "of the Lodoria Guard")
            {
                clothColor = 0x6E4;             helmType = 0x1412;              cloakColor = 0x6E7;
            }
            else if (captain.Title == "of the Devil Guard")
            {
                clothColor = 0x430;             helmType = 0x140E;              cloakColor = 0;
            }
            else if (captain.Title == "of the Moon Guard")
            {
                clothColor = 0x8AF;             helmType = 0x1412;              cloakColor = 0x972;
            }
            else if (captain.Title == "of the Grey Guard")
            {
                clothColor = 0;                 helmType = 0x140E;              cloakColor = 0x763;
            }
            else if (captain.Title == "of the Montor Guard")
            {
                clothColor = 0x96F;             helmType = 0x1412;              cloakColor = 0x529;
            }
            else if (captain.Title == "of the Fawn Guard")
            {
                clothColor = 0x59D;             helmType = 0x140E;              cloakColor = 0x59C;
            }
            else if (captain.Title == "of the Yew Guard")
            {
                clothColor = 0x83C;             helmType = 0x1412;              cloakColor = 0x850;
            }
            else if (captain.Title == "of the Iceclad Guard")
            {
                clothColor = 0x482;             helmType = 0x140E;              cloakColor = 0x47E;
            }
            else if (captain.Title == "of the Britain Guard")
            {
                clothColor = 0x9C4;             helmType = 0x140E;              cloakColor = 0x845;
            }
            else if (captain.Title == "of the Renika Guard")
            {
                clothColor = 0xA5D;             helmType = 0x140E;              cloakColor = 0x96D;
            }
            else if (captain.Title == "of the Kuldara Guard")
            {
                clothColor = 0x965;             helmType = 0x140E;              cloakColor = 0x845;
            }
            else if (captain.Title == "of the Cimmeran Guard")
            {
                clothColor = 0x978;             helmType = 0;                   cloakColor = 0x973;
            }
            else if (captain.Title == "of the Barako Guard")
            {
                clothColor = 0x515;             helmType = 0x2645;              cloakColor = 0x58D;
            }
            else if (captain.Title == "of the Kurak Guard")
            {
                clothColor = 0x515;             helmType = 0x140E;              cloakColor = 0x59D;
            }

            Item arms  = new PlateArms();
            Item tunic = new PlateChest();
            Item legs  = new PlateLegs();
            Item neck  = new PlateGorget();
            Item hand  = new PlateGloves();
            Item foot  = new Boots( );

            if (captain.Title == "of the Cimmeran Guard")
            {
                tunic.ItemID = 0x5652;  tunic.Name = "tunic";
                if (bc.Female)
                {
                    tunic.ItemID = 0x563E;
                    Utility.AssignRandomHair(bc);
                }
                else
                {
                    Utility.AssignRandomHair(bc);
                    FacialHairItemID = Utility.RandomList(0, 8254, 8255, 8256, 8257, 8267, 8268, 8269);
                }

                bc.HairHue       = 0x455;
                bc.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";
            }

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

            if (helmType > 0)
            {
                PlateHelm helm = new PlateHelm();
                helm.ItemID = helmType;
                helm.Name   = "helm";
                bc.AddItem(helm);
            }

            MorphingTime.ColorMyClothes(bc, clothColor);

            if (bc is BasePirate)
            {
                Cloak cloak = new Cloak();
                cloak.Hue = cloakColor;
                bc.AddItem(cloak);
            }
        }
Пример #21
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);
            }
        }