mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-19 12:42:26 +00:00
Restrict spell suppression restoration to client pets only
Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
parent
9a657e7d6a
commit
56b5e4e84e
@ -4688,8 +4688,8 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses, bool suppress, uint32 su
|
||||
client->QueuePacket(action_packet);
|
||||
safe_delete(action_packet);
|
||||
client->ReapplyBuff(slot, true);
|
||||
} else {
|
||||
// Reapply visual/state effects for non-client mobs (pets, NPCs, bots)
|
||||
} else if (IsPet() && GetOwner() && GetOwner()->IsClient()) {
|
||||
// Reapply visual/state effects for client pets only
|
||||
if (!IsValidSpell(buffs[slot].spellid))
|
||||
return;
|
||||
const auto& spell = spells[buffs[slot].spellid];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user