From b8df42721f1e2fd62a7d8994f7192a0459482c8a Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Fri, 28 Jul 2023 19:29:06 -0700 Subject: [PATCH] fix: Fixes inaccessible items. (#1435) ### Summary - [X] Fighters and Paladins did not have the correct strength to equip certain items in AOS+ - [X] Removed Chaos/Order shields from Fighters - [X] Moved all item equips so they are done after stats are assigned. --- .../UOContent/Mobiles/Hireables/HireBard.cs | 44 +++--- .../Mobiles/Hireables/HireBardArcher.cs | 44 +++--- .../UOContent/Mobiles/Hireables/HireBeggar.cs | 38 ++--- .../Mobiles/Hireables/HireFighter.cs | 146 +++++------------- .../UOContent/Mobiles/Hireables/HireMage.cs | 23 +-- .../Mobiles/Hireables/HirePaladin.cs | 63 +++----- .../Mobiles/Hireables/HirePeasant.cs | 36 +++-- .../UOContent/Mobiles/Hireables/HireRanger.cs | 24 +-- .../Mobiles/Hireables/HireRangerArcher.cs | 22 +-- .../UOContent/Mobiles/Hireables/HireSailor.cs | 26 ++-- .../UOContent/Mobiles/Hireables/HireThief.cs | 48 +++--- .../Monsters/Humanoid/Magic/EvilMage.cs | 4 +- .../Monsters/Humanoid/Magic/EvilMageLord.cs | 8 +- 13 files changed, 225 insertions(+), 301 deletions(-) diff --git a/Projects/UOContent/Mobiles/Hireables/HireBard.cs b/Projects/UOContent/Mobiles/Hireables/HireBard.cs index 791cbae17..2539ecf71 100644 --- a/Projects/UOContent/Mobiles/Hireables/HireBard.cs +++ b/Projects/UOContent/Mobiles/Hireables/HireBard.cs @@ -12,6 +12,28 @@ public partial class HireBard : BaseHire SpeechHue = Utility.RandomDyedHue(); Hue = Race.Human.RandomSkinHue(); + Title = "the bard"; + HairItemID = Race.RandomHair(Female); + HairHue = Race.RandomHairHue(); + Race.RandomFacialHair(this); + + SetStr(16, 16); + SetDex(26, 26); + SetInt(26, 26); + + SetDamage(5, 10); + + SetSkill(SkillName.Tactics, 35, 57); + SetSkill(SkillName.Magery, 22, 22); + SetSkill(SkillName.Swords, 45, 67); + SetSkill(SkillName.Archery, 36, 67); + SetSkill(SkillName.Parry, 45, 60); + SetSkill(SkillName.Musicianship, 66.0, 97.5); + SetSkill(SkillName.Peacemaking, 65.0, 87.5); + + Fame = 100; + Karma = 100; + if (Female = Utility.RandomBool()) { Body = 0x191; @@ -38,28 +60,6 @@ public partial class HireBard : BaseHire EquipItem(new ShortPants(Utility.RandomNeutralHue())); } - Title = "the bard"; - HairItemID = Race.RandomHair(Female); - HairHue = Race.RandomHairHue(); - Race.RandomFacialHair(this); - - SetStr(16, 16); - SetDex(26, 26); - SetInt(26, 26); - - SetDamage(5, 10); - - SetSkill(SkillName.Tactics, 35, 57); - SetSkill(SkillName.Magery, 22, 22); - SetSkill(SkillName.Swords, 45, 67); - SetSkill(SkillName.Archery, 36, 67); - SetSkill(SkillName.Parry, 45, 60); - SetSkill(SkillName.Musicianship, 66.0, 97.5); - SetSkill(SkillName.Peacemaking, 65.0, 87.5); - - Fame = 100; - Karma = 100; - EquipItem(new Shoes(Utility.RandomNeutralHue())); switch (Utility.Random(2)) diff --git a/Projects/UOContent/Mobiles/Hireables/HireBardArcher.cs b/Projects/UOContent/Mobiles/Hireables/HireBardArcher.cs index 21347d856..fb9f172b3 100644 --- a/Projects/UOContent/Mobiles/Hireables/HireBardArcher.cs +++ b/Projects/UOContent/Mobiles/Hireables/HireBardArcher.cs @@ -12,6 +12,28 @@ public partial class HireBardArcher : BaseHire SpeechHue = Utility.RandomDyedHue(); Hue = Race.Human.RandomSkinHue(); + Title = "the bard"; + HairItemID = Race.RandomHair(Female); + HairHue = Race.RandomHairHue(); + Race.RandomFacialHair(this); + + SetStr(16, 16); + SetDex(26, 26); + SetInt(26, 26); + + SetDamage(5, 10); + + SetSkill(SkillName.Tactics, 35, 57); + SetSkill(SkillName.Magery, 22, 22); + SetSkill(SkillName.Swords, 45, 67); + SetSkill(SkillName.Archery, 36, 67); + SetSkill(SkillName.Parry, 45, 60); + SetSkill(SkillName.Musicianship, 66.0, 97.5); + SetSkill(SkillName.Peacemaking, 65.0, 87.5); + + Fame = 100; + Karma = 100; + if (Female = Utility.RandomBool()) { Body = 0x191; @@ -38,28 +60,6 @@ public partial class HireBardArcher : BaseHire EquipItem(new ShortPants(Utility.RandomNeutralHue())); } - Title = "the bard"; - HairItemID = Race.RandomHair(Female); - HairHue = Race.RandomHairHue(); - Race.RandomFacialHair(this); - - SetStr(16, 16); - SetDex(26, 26); - SetInt(26, 26); - - SetDamage(5, 10); - - SetSkill(SkillName.Tactics, 35, 57); - SetSkill(SkillName.Magery, 22, 22); - SetSkill(SkillName.Swords, 45, 67); - SetSkill(SkillName.Archery, 36, 67); - SetSkill(SkillName.Parry, 45, 60); - SetSkill(SkillName.Musicianship, 66.0, 97.5); - SetSkill(SkillName.Peacemaking, 65.0, 87.5); - - Fame = 100; - Karma = 100; - EquipItem(new Shoes(Utility.RandomNeutralHue())); switch (Utility.Random(2)) diff --git a/Projects/UOContent/Mobiles/Hireables/HireBeggar.cs b/Projects/UOContent/Mobiles/Hireables/HireBeggar.cs index 3ae243aff..189921980 100644 --- a/Projects/UOContent/Mobiles/Hireables/HireBeggar.cs +++ b/Projects/UOContent/Mobiles/Hireables/HireBeggar.cs @@ -12,6 +12,25 @@ public partial class HireBeggar : BaseHire SpeechHue = Utility.RandomDyedHue(); Hue = Race.Human.RandomSkinHue(); + Title = "the beggar"; + HairItemID = Race.RandomHair(Female); + HairHue = Race.RandomHairHue(); + Race.RandomFacialHair(this); + + SetStr(26, 26); + SetDex(21, 21); + SetInt(36, 36); + + SetDamage(1, 1); + + SetSkill(SkillName.Begging, 66, 97); + SetSkill(SkillName.Tactics, 5, 27); + SetSkill(SkillName.Wrestling, 5, 27); + SetSkill(SkillName.Magery, 2, 2); + + Fame = 0; + Karma = 0; + if (Female = Utility.RandomBool()) { Body = 0x191; @@ -38,25 +57,6 @@ public partial class HireBeggar : BaseHire EquipItem(new ShortPants(Utility.RandomNeutralHue())); } - Title = "the beggar"; - HairItemID = Race.RandomHair(Female); - HairHue = Race.RandomHairHue(); - Race.RandomFacialHair(this); - - SetStr(26, 26); - SetDex(21, 21); - SetInt(36, 36); - - SetDamage(1, 1); - - SetSkill(SkillName.Begging, 66, 97); - SetSkill(SkillName.Tactics, 5, 27); - SetSkill(SkillName.Wrestling, 5, 27); - SetSkill(SkillName.Magery, 2, 2); - - Fame = 0; - Karma = 0; - EquipItem(new Sandals(Utility.RandomNeutralHue())); switch (Utility.Random(2)) diff --git a/Projects/UOContent/Mobiles/Hireables/HireFighter.cs b/Projects/UOContent/Mobiles/Hireables/HireFighter.cs index ecfd8422a..a0cfad45a 100644 --- a/Projects/UOContent/Mobiles/Hireables/HireFighter.cs +++ b/Projects/UOContent/Mobiles/Hireables/HireFighter.cs @@ -12,17 +12,6 @@ public partial class HireFighter : BaseHire SpeechHue = Utility.RandomDyedHue(); Hue = Race.Human.RandomSkinHue(); - if (Female = Utility.RandomBool()) - { - Body = 0x191; - Name = NameList.RandomName("female"); - } - else - { - Body = 0x190; - Name = NameList.RandomName("male"); - } - Title = "the fighter"; HairItemID = Race.RandomHair(Female); HairHue = Race.RandomHairHue(); @@ -45,6 +34,17 @@ public partial class HireFighter : BaseHire Fame = 100; Karma = 100; + if (Female = Utility.RandomBool()) + { + Body = 0x191; + Name = NameList.RandomName("female"); + } + else + { + Body = 0x190; + Name = NameList.RandomName("male"); + } + switch (Utility.Random(2)) { case 0: @@ -62,110 +62,44 @@ public partial class HireFighter : BaseHire EquipItem(new Shirt()); // Pick a random sword - switch (Utility.Random(5)) + BaseWeapon weapon = Utility.Random(5) switch { - case 0: - { - EquipItem(new Longsword()); - break; - } - case 1: - { - EquipItem(new Broadsword()); - break; - } - case 2: - { - EquipItem(new VikingSword()); - break; - } - case 3: - { - EquipItem(new BattleAxe()); - break; - } - case 4: - { - EquipItem(new TwoHandedAxe()); - break; - } - } + 1 => new Broadsword(), + 2 => new VikingSword(), + 3 => new BattleAxe(), + 4 => new TwoHandedAxe(), + _ => new Longsword() + }; + + EquipItem(weapon); // Pick a random shield if (FindItemOnLayer(Layer.TwoHanded) == null) { - switch (Utility.Random(8)) + BaseShield shield = Utility.Random(6) switch { - case 0: - { - EquipItem(new BronzeShield()); - break; - } - case 1: - { - EquipItem(new HeaterShield()); - break; - } - case 2: - { - EquipItem(new MetalKiteShield()); - break; - } - case 3: - { - EquipItem(new MetalShield()); - break; - } - case 4: - { - EquipItem(new WoodenKiteShield()); - break; - } - case 5: - { - EquipItem(new WoodenShield()); - break; - } - case 6: - { - EquipItem(new OrderShield()); - break; - } - case 7: - { - EquipItem(new ChaosShield()); - break; - } - } + 1 => new HeaterShield(), + 2 => new MetalKiteShield(), + 3 => new MetalShield(), + 4 => new WoodenKiteShield(), + 5 => new WoodenShield(), + _ => new BronzeShield() + }; + + EquipItem(shield); } - switch (Utility.Random(5)) + BaseArmor helm = Utility.Random(5) switch { - case 0: - { - break; - } - case 1: - { - EquipItem(new Bascinet()); - break; - } - case 2: - { - EquipItem(new CloseHelm()); - break; - } - case 3: - { - EquipItem(new NorseHelm()); - break; - } - case 4: - { - EquipItem(new Helmet()); - break; - } - } + 1 => new Bascinet(), + 2 => new CloseHelm(), + 3 => new NorseHelm(), + 4 => new Helmet(), + _ => null + }; + + EquipItem(helm); + // Pick some armour switch (Utility.Random(4)) { diff --git a/Projects/UOContent/Mobiles/Hireables/HireMage.cs b/Projects/UOContent/Mobiles/Hireables/HireMage.cs index 328bb80cf..0a31d9862 100644 --- a/Projects/UOContent/Mobiles/Hireables/HireMage.cs +++ b/Projects/UOContent/Mobiles/Hireables/HireMage.cs @@ -12,17 +12,6 @@ public partial class HireMage : BaseHire SpeechHue = Utility.RandomDyedHue(); Hue = Race.Human.RandomSkinHue(); Title = "the mage"; - if (Female = Utility.RandomBool()) - { - Body = 0x191; - Name = NameList.RandomName("female"); - } - else - { - Body = 0x190; - Name = NameList.RandomName("male"); - EquipItem(new ShortPants(Utility.RandomNeutralHue())); - } HairItemID = Race.RandomHair(Female); HairHue = Race.RandomHairHue(); @@ -44,6 +33,18 @@ public partial class HireMage : BaseHire Fame = 100; Karma = 100; + if (Female = Utility.RandomBool()) + { + Body = 0x191; + Name = NameList.RandomName("female"); + } + else + { + Body = 0x190; + Name = NameList.RandomName("male"); + EquipItem(new ShortPants(Utility.RandomNeutralHue())); + } + EquipItem(new Shirt()); EquipItem(new Robe(Utility.RandomNeutralHue())); diff --git a/Projects/UOContent/Mobiles/Hireables/HirePaladin.cs b/Projects/UOContent/Mobiles/Hireables/HirePaladin.cs index 0226ebe63..849921755 100644 --- a/Projects/UOContent/Mobiles/Hireables/HirePaladin.cs +++ b/Projects/UOContent/Mobiles/Hireables/HirePaladin.cs @@ -12,51 +12,12 @@ public partial class HirePaladin : BaseHire SpeechHue = Utility.RandomDyedHue(); Hue = Race.Human.RandomSkinHue(); - if (Female = Utility.RandomBool()) - { - Body = 0x191; - Name = NameList.RandomName("female"); - } - else - { - Body = 0x190; - Name = NameList.RandomName("male"); - } - Title = "the paladin"; HairItemID = Race.RandomHair(Female); HairHue = Race.RandomHairHue(); Race.RandomFacialHair(this); - switch (Utility.Random(5)) - { - case 0: - { - break; - } - case 1: - { - EquipItem(new Bascinet()); - break; - } - case 2: - { - EquipItem(new CloseHelm()); - break; - } - case 3: - { - EquipItem(new NorseHelm()); - break; - } - case 4: - { - EquipItem(new Helmet()); - break; - } - } - - SetStr(86, 100); + SetStr(Core.AOS ? 100 : 86, 100); SetDex(81, 95); SetInt(61, 75); @@ -74,6 +35,28 @@ public partial class HirePaladin : BaseHire Fame = 100; Karma = 250; + if (Female = Utility.RandomBool()) + { + Body = 0x191; + Name = NameList.RandomName("female"); + } + else + { + Body = 0x190; + Name = NameList.RandomName("male"); + } + + BaseArmor helm = Utility.Random(5) switch + { + 1 => new Bascinet(), + 2 => new CloseHelm(), + 3 => new NorseHelm(), + 4 => new Helmet(), + _ => null + }; + + EquipItem(helm); + EquipItem(new Shoes(Utility.RandomNeutralHue())); EquipItem(new Shirt()); EquipItem(new VikingSword()); diff --git a/Projects/UOContent/Mobiles/Hireables/HirePeasant.cs b/Projects/UOContent/Mobiles/Hireables/HirePeasant.cs index 150a11eda..6d86d45a4 100644 --- a/Projects/UOContent/Mobiles/Hireables/HirePeasant.cs +++ b/Projects/UOContent/Mobiles/Hireables/HirePeasant.cs @@ -12,6 +12,24 @@ public partial class HirePeasant : BaseHire SpeechHue = Utility.RandomDyedHue(); Hue = Race.Human.RandomSkinHue(); + Title = "the peasant"; + HairItemID = Race.RandomHair(Female); + HairHue = Race.RandomHairHue(); + Race.RandomFacialHair(this); + + SetStr(26, 26); + SetDex(21, 21); + SetInt(16, 16); + + SetDamage(10, 23); + + SetSkill(SkillName.Tactics, 5, 27); + SetSkill(SkillName.Wrestling, 5, 5); + SetSkill(SkillName.Swords, 5, 27); + + Fame = 0; + Karma = 0; + if (Female = Utility.RandomBool()) { Body = 0x191; @@ -37,27 +55,11 @@ public partial class HirePeasant : BaseHire Name = NameList.RandomName("male"); EquipItem(new ShortPants(Utility.RandomNeutralHue())); } - Title = "the peasant"; - HairItemID = Race.RandomHair(Female); - HairHue = Race.RandomHairHue(); - Race.RandomFacialHair(this); EquipItem(new Katana()); - SetStr(26, 26); - SetDex(21, 21); - SetInt(16, 16); - - SetDamage(10, 23); - - SetSkill(SkillName.Tactics, 5, 27); - SetSkill(SkillName.Wrestling, 5, 5); - SetSkill(SkillName.Swords, 5, 27); - - Fame = 0; - Karma = 0; - EquipItem(new Sandals(Utility.RandomNeutralHue())); + switch (Utility.Random(2)) { case 0: diff --git a/Projects/UOContent/Mobiles/Hireables/HireRanger.cs b/Projects/UOContent/Mobiles/Hireables/HireRanger.cs index 30e98b98f..d7349c1b8 100644 --- a/Projects/UOContent/Mobiles/Hireables/HireRanger.cs +++ b/Projects/UOContent/Mobiles/Hireables/HireRanger.cs @@ -12,18 +12,6 @@ public partial class HireRanger : BaseHire SpeechHue = Utility.RandomDyedHue(); Hue = Race.Human.RandomSkinHue(); - if (Female = Utility.RandomBool()) - { - Body = 0x191; - Name = NameList.RandomName("female"); - } - else - { - Body = 0x190; - Name = NameList.RandomName("male"); - EquipItem(new ShortPants(Utility.RandomNeutralHue())); - } - Title = "the ranger"; HairItemID = Race.RandomHair(Female); HairHue = Race.RandomHairHue(); @@ -46,6 +34,18 @@ public partial class HireRanger : BaseHire Fame = 100; Karma = 125; + if (Female = Utility.RandomBool()) + { + Body = 0x191; + Name = NameList.RandomName("female"); + } + else + { + Body = 0x190; + Name = NameList.RandomName("male"); + EquipItem(new ShortPants(Utility.RandomNeutralHue())); + } + EquipItem(new Shoes(Utility.RandomNeutralHue())); EquipItem(new Shirt()); diff --git a/Projects/UOContent/Mobiles/Hireables/HireRangerArcher.cs b/Projects/UOContent/Mobiles/Hireables/HireRangerArcher.cs index bb2ddb8bf..4a361869b 100644 --- a/Projects/UOContent/Mobiles/Hireables/HireRangerArcher.cs +++ b/Projects/UOContent/Mobiles/Hireables/HireRangerArcher.cs @@ -12,17 +12,6 @@ public partial class HireRangerArcher : BaseHire SpeechHue = Utility.RandomDyedHue(); Hue = Race.Human.RandomSkinHue(); - if (Female = Utility.RandomBool()) - { - Body = 0x191; - Name = NameList.RandomName("female"); - } - else - { - Body = 0x190; - Name = NameList.RandomName("male"); - } - Title = "the ranger"; HairItemID = Race.RandomHair(Female); HairHue = Race.RandomHairHue(); @@ -45,6 +34,17 @@ public partial class HireRangerArcher : BaseHire Fame = 100; Karma = 125; + if (Female = Utility.RandomBool()) + { + Body = 0x191; + Name = NameList.RandomName("female"); + } + else + { + Body = 0x190; + Name = NameList.RandomName("male"); + } + EquipItem(new Shoes(Utility.RandomNeutralHue())); EquipItem(new Shirt()); diff --git a/Projects/UOContent/Mobiles/Hireables/HireSailor.cs b/Projects/UOContent/Mobiles/Hireables/HireSailor.cs index bdd6d1a31..59cae5fe2 100644 --- a/Projects/UOContent/Mobiles/Hireables/HireSailor.cs +++ b/Projects/UOContent/Mobiles/Hireables/HireSailor.cs @@ -12,18 +12,6 @@ public partial class HireSailor : BaseHire SpeechHue = Utility.RandomDyedHue(); Hue = Race.Human.RandomSkinHue(); - if (Female = Utility.RandomBool()) - { - Body = 0x191; - Name = NameList.RandomName("female"); - EquipItem(new ShortPants(Utility.RandomNeutralHue())); - } - else - { - Body = 0x190; - Name = NameList.RandomName("male"); - EquipItem(new ShortPants(Utility.RandomNeutralHue())); - } Title = "the sailor"; HairItemID = Race.RandomHair(Female); HairHue = Race.RandomHairHue(); @@ -45,9 +33,23 @@ public partial class HireSailor : BaseHire SetSkill(SkillName.Lockpicking, 65, 87); SetSkill(SkillName.Hiding, 65, 87); SetSkill(SkillName.Snooping, 65, 87); + Fame = 100; Karma = 0; + if (Female = Utility.RandomBool()) + { + Body = 0x191; + Name = NameList.RandomName("female"); + EquipItem(new ShortPants(Utility.RandomNeutralHue())); + } + else + { + Body = 0x190; + Name = NameList.RandomName("male"); + EquipItem(new ShortPants(Utility.RandomNeutralHue())); + } + EquipItem(new Shoes(Utility.RandomNeutralHue())); EquipItem(new Cutlass()); diff --git a/Projects/UOContent/Mobiles/Hireables/HireThief.cs b/Projects/UOContent/Mobiles/Hireables/HireThief.cs index 03e20d2f0..a27275c47 100644 --- a/Projects/UOContent/Mobiles/Hireables/HireThief.cs +++ b/Projects/UOContent/Mobiles/Hireables/HireThief.cs @@ -12,6 +12,31 @@ public partial class HireThief : BaseHire SpeechHue = Utility.RandomDyedHue(); Hue = Race.Human.RandomSkinHue(); + Title = "the thief"; + HairItemID = Race.RandomHair(Female); + HairHue = Race.RandomHairHue(); + Race.RandomFacialHair(this); + + SetStr(81, 95); + SetDex(86, 100); + SetInt(61, 75); + + SetDamage(10, 23); + + SetSkill(SkillName.Stealing, 66.0, 97.5); + SetSkill(SkillName.Peacemaking, 65.0, 87.5); + SetSkill(SkillName.MagicResist, 25.0, 47.5); + SetSkill(SkillName.Healing, 65.0, 87.5); + SetSkill(SkillName.Tactics, 65.0, 87.5); + SetSkill(SkillName.Fencing, 65.0, 87.5); + SetSkill(SkillName.Parry, 45.0, 60.5); + SetSkill(SkillName.Lockpicking, 65, 87); + SetSkill(SkillName.Hiding, 65, 87); + SetSkill(SkillName.Snooping, 65, 87); + + Fame = 100; + Karma = 0; + if (Female = Utility.RandomBool()) { Body = 0x191; @@ -37,29 +62,6 @@ public partial class HireThief : BaseHire Name = NameList.RandomName("male"); EquipItem(new ShortPants(Utility.RandomNeutralHue())); } - Title = "the thief"; - HairItemID = Race.RandomHair(Female); - HairHue = Race.RandomHairHue(); - Race.RandomFacialHair(this); - - SetStr(81, 95); - SetDex(86, 100); - SetInt(61, 75); - - SetDamage(10, 23); - - SetSkill(SkillName.Stealing, 66.0, 97.5); - SetSkill(SkillName.Peacemaking, 65.0, 87.5); - SetSkill(SkillName.MagicResist, 25.0, 47.5); - SetSkill(SkillName.Healing, 65.0, 87.5); - SetSkill(SkillName.Tactics, 65.0, 87.5); - SetSkill(SkillName.Fencing, 65.0, 87.5); - SetSkill(SkillName.Parry, 45.0, 60.5); - SetSkill(SkillName.Lockpicking, 65, 87); - SetSkill(SkillName.Hiding, 65, 87); - SetSkill(SkillName.Snooping, 65, 87); - Fame = 100; - Karma = 0; EquipItem(new Sandals(Utility.RandomNeutralHue())); EquipItem(new Dagger()); diff --git a/Projects/UOContent/Mobiles/Monsters/Humanoid/Magic/EvilMage.cs b/Projects/UOContent/Mobiles/Monsters/Humanoid/Magic/EvilMage.cs index 110365c12..40ed1954b 100644 --- a/Projects/UOContent/Mobiles/Monsters/Humanoid/Magic/EvilMage.cs +++ b/Projects/UOContent/Mobiles/Monsters/Humanoid/Magic/EvilMage.cs @@ -39,8 +39,8 @@ namespace Server.Mobiles VirtualArmor = 16; PackReg(6); - EquipItem(new Robe(Utility.RandomNeutralHue())); - EquipItem(new Sandals()); + PackItem(new Robe(Utility.RandomNeutralHue())); + PackItem(new Sandals()); } public override string CorpseName => "an evil mage corpse"; diff --git a/Projects/UOContent/Mobiles/Monsters/Humanoid/Magic/EvilMageLord.cs b/Projects/UOContent/Mobiles/Monsters/Humanoid/Magic/EvilMageLord.cs index 5ac69904d..03ce65e91 100644 --- a/Projects/UOContent/Mobiles/Monsters/Humanoid/Magic/EvilMageLord.cs +++ b/Projects/UOContent/Mobiles/Monsters/Humanoid/Magic/EvilMageLord.cs @@ -42,16 +42,16 @@ namespace Server.Mobiles VirtualArmor = 16; PackReg(23); - EquipItem(new Robe(Utility.RandomMetalHue())); - EquipItem(new WizardsHat(Utility.RandomMetalHue())); + PackItem(new Robe(Utility.RandomMetalHue())); + PackItem(new WizardsHat(Utility.RandomMetalHue())); if (Utility.RandomBool()) { - EquipItem(new Shoes()); + PackItem(new Shoes()); } else { - EquipItem(new Sandals()); + PackItem(new Sandals()); } }