mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
[Illusions] Fix bug where spells like Ignite Bones left NPC size incorrect. (#3061)
This commit is contained in:
parent
02ada0e496
commit
b7747b07db
@ -4244,27 +4244,8 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses)
|
|||||||
case SE_Illusion:
|
case SE_Illusion:
|
||||||
{
|
{
|
||||||
SendIllusionPacket(0, GetBaseGender());
|
SendIllusionPacket(0, GetBaseGender());
|
||||||
if (GetRace() == OGRE) {
|
// The GetSize below works because the above setting race to zero sets size back.
|
||||||
SendAppearancePacket(AT_Size, 9);
|
SendAppearancePacket(AT_Size, GetSize());
|
||||||
}
|
|
||||||
else if (GetRace() == TROLL) {
|
|
||||||
SendAppearancePacket(AT_Size, 8);
|
|
||||||
}
|
|
||||||
else if (GetRace() == VAHSHIR || GetRace() == FROGLOK || GetRace() == BARBARIAN) {
|
|
||||||
SendAppearancePacket(AT_Size, 7);
|
|
||||||
}
|
|
||||||
else if (GetRace() == HALF_ELF || GetRace() == WOOD_ELF || GetRace() == DARK_ELF) {
|
|
||||||
SendAppearancePacket(AT_Size, 5);
|
|
||||||
}
|
|
||||||
else if (GetRace() == DWARF) {
|
|
||||||
SendAppearancePacket(AT_Size, 4);
|
|
||||||
}
|
|
||||||
else if (GetRace() == HALFLING || GetRace() == GNOME) {
|
|
||||||
SendAppearancePacket(AT_Size, 3);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
SendAppearancePacket(AT_Size, 6);
|
|
||||||
}
|
|
||||||
|
|
||||||
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