From 43a146da6dde0be06ddd27741ba21fc73091e27e Mon Sep 17 00:00:00 2001 From: Vayle <76063792+Valorith@users.noreply.github.com> Date: Fri, 30 Jan 2026 22:39:11 -0500 Subject: [PATCH] Update zone/spell_effects.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- zone/spell_effects.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index 33090b07f..3ec303d3f 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -4690,6 +4690,8 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses, bool suppress, uint32 su client->ReapplyBuff(slot, true); } else { // Reapply visual/state effects for non-client mobs (pets, NPCs, bots) + if (!IsValidSpell(buffs[slot].spellid)) + return false; const auto& spell = spells[buffs[slot].spellid]; for (int i = 0; i < EFFECT_COUNT; i++) { switch (spell.effect_id[i]) {