mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 22:01:30 +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_IllusionCopy:
|
||||||
case SE_Illusion:
|
case SE_Illusion:
|
||||||
{
|
{
|
||||||
SendIllusionPacket(AppearanceStruct{});
|
SendIllusionPacket(
|
||||||
// The GetSize below works because the above setting race to zero sets size back.
|
AppearanceStruct{
|
||||||
SendAppearancePacket(AppearanceType::Size, GetSize());
|
.gender_id = GetBaseGender(),
|
||||||
|
.race_id = GetBaseRace(),
|
||||||
|
.size = GetDefaultRaceSize(GetBaseRace(), GetBaseGender()),
|
||||||
|
.texture = 0
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
for (int x = EQ::textures::textureBegin; x <= EQ::textures::LastTintableTexture; x++) {
|
for (int x = EQ::textures::textureBegin; x <= EQ::textures::LastTintableTexture; x++) {
|
||||||
SendWearChange(x);
|
SendWearChange(x);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user