Update zone/spell_effects.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Vayle 2026-01-30 22:39:11 -05:00 committed by GitHub
parent dffc4610d5
commit 43a146da6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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]) {