From e948a6815c0312164d041b81fba905abe8e6fa4b Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Thu, 13 Feb 2025 20:57:31 -0500 Subject: [PATCH] [Bug Fix] Fix Illusion Fade Texture Bug (#4673) * [Bug Fix] Fix Illusion Fade Texture Bug * Update spell_effects.cpp --- zone/spell_effects.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index 2365fa2fc..c58ffff64 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -4340,9 +4340,14 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses) case SE_IllusionCopy: case SE_Illusion: { - SendIllusionPacket(AppearanceStruct{}); - // The GetSize below works because the above setting race to zero sets size back. - SendAppearancePacket(AppearanceType::Size, GetSize()); + SendIllusionPacket( + AppearanceStruct{ + .gender_id = GetBaseGender(), + .race_id = GetBaseRace(), + .size = GetDefaultRaceSize(GetBaseRace(), GetBaseGender()), + .texture = 0 + } + ); for (int x = EQ::textures::textureBegin; x <= EQ::textures::LastTintableTexture; x++) { SendWearChange(x);