From 0f4f5d70466f775f0ba5faed99c682009662c2f0 Mon Sep 17 00:00:00 2001 From: Natedog2012 Date: Tue, 7 Dec 2021 14:15:28 -0600 Subject: [PATCH] RemoveAllAppearanceEffects sends all relevant data so NPC appearance doesn't get altered. (#1864) --- zone/perl_mob.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zone/perl_mob.cpp b/zone/perl_mob.cpp index 006492918..1c9e399a2 100644 --- a/zone/perl_mob.cpp +++ b/zone/perl_mob.cpp @@ -4858,7 +4858,10 @@ XS(XS_Mob_RemoveAllAppearanceEffects) { { Mob *THIS; VALIDATE_THIS_IS_MOB; - THIS->SendIllusionPacket(THIS->GetRace()); + THIS->SendIllusionPacket(THIS->GetRace(), THIS->GetGender(), THIS->GetTexture(), THIS->GetHelmTexture(), + THIS->GetHairColor(), THIS->GetBeardColor(), THIS->GetEyeColor1(), THIS->GetEyeColor2(), + THIS->GetHairStyle(), THIS->GetLuclinFace(), THIS->GetBeard(), 0xFF, + THIS->GetDrakkinHeritage(), THIS->GetDrakkinTattoo(), THIS->GetDrakkinDetails(), THIS->GetSize()); } XSRETURN_EMPTY; }