From d7290757e00b793b26038e35998325f224cb8322 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Mar 2026 19:29:55 +0000 Subject: [PATCH 2/2] Fix misplaced comment: add proper description for ReapplyBuffEffects, restore original comment before BuffFadeBySlot Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- zone/spell_effects.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index 868903f67..7911320c2 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -4219,7 +4219,7 @@ void Mob::DoBuffTic(const Buffs_Struct &buff, int slot, Mob *caster) CalcBonuses(); } -// removes the buff in the buff slot 'slot' +// Re-applies runtime-only buff effects after unsuppression or zone-in void Mob::ReapplyBuffEffects(uint32 index, bool from_suppress) { if (!IsValidSpell(buffs[index].spellid)) { @@ -4369,6 +4369,7 @@ void Mob::ReapplyBuffEffects(uint32 index, bool from_suppress) } } +// removes the buff in the buff slot 'slot' void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses, bool suppress, uint32 suppresstics) { if(slot < 0 || slot > GetMaxTotalSlots())