fix: Removes BodyValue and fixes modifying Body and BodyMod in props gump. (#743)

* Removes BodyValue
* Removes BodyPicker gump
* Fixes setting Body and BodyMod in props gump
* Props will now look for an `implicit cast` in order to find a way to allow you to modify values with the props gump.
* Fixed `[self set body 0x190` so it works too.
This commit is contained in:
Kamron Batman 2021-08-28 22:56:00 -07:00 • committed by GitHub
parent 244fc6a136
commit bf20800382
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 175 additions and 1477 deletions

View file

@ -101,7 +101,7 @@ namespace Server.Engines.MLQuests.Definitions
: base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2)
{
Title = "the Apprentice Necromancer";
BodyValue = 0x190;
Body = 0x190;
Hue = 0x83FD;
HairItemID = 0x2048;
HairHue = 0x463;
@ -146,7 +146,7 @@ namespace Server.Engines.MLQuests.Definitions
public Frederic()
: base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2)
{
BodyValue = 0x1A;
Body = 0x1A;
Hue = 0x455;
Frozen = true;
@ -184,7 +184,7 @@ namespace Server.Engines.MLQuests.Definitions
{
Title = "the Alchemist";
Race = Race.Human;
BodyValue = 0x190;
Body = 0x190;
Female = false;
Hue = Race.RandomSkinHue();
InitStats(100, 100, 25);
@ -226,7 +226,7 @@ namespace Server.Engines.MLQuests.Definitions
: base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2)
{
Title = "the Blacksmith";
BodyValue = 0x190;
Body = 0x190;
Hue = 0x8409;
FacialHairItemID = 0x2041;
FacialHairHue = 0x45E;