mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
[Bug Fix] Fix Illusion Fade Texture Bug (#4673)
* [Bug Fix] Fix Illusion Fade Texture Bug * Update spell_effects.cpp
This commit is contained in:
parent
dfb089b0c1
commit
e948a6815c
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user