mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +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:
|
||||
{
|
||||
SendIllusionPacket(0, GetBaseGender());
|
||||
if (GetRace() == OGRE) {
|
||||
SendAppearancePacket(AT_Size, 9);
|
||||
}
|
||||
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);
|
||||
}
|
||||
// The GetSize below works because the above setting race to zero sets size back.
|
||||
SendAppearancePacket(AT_Size, GetSize());
|
||||
|
||||
for (int x = EQ::textures::textureBegin; x <= EQ::textures::LastTintableTexture; x++) {
|
||||
SendWearChange(x);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user