From 56b5e4e84e7ae61367307dc8cc0e8705193e62ac Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 31 Jan 2026 20:33:42 +0000 Subject: [PATCH] Restrict spell suppression restoration to client pets only Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- zone/spell_effects.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index a99d60084..e218a5bd7 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -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];