Core/Auras: Fixed aura stacks being reset to default max stack size when modified by SpellModOp::MaxAuraStacks and reaching the new limit

(cherry picked from commit 586651031e)
This commit is contained in:
Shauren
2025-01-02 19:08:19 +01:00
committed by Ovahlord
parent 0bfca1c18f
commit a7587de5ed

View File

@@ -1075,7 +1075,7 @@ bool Aura::ModStackAmount(int32 num, AuraRemoveMode removeMode /*= AURA_REMOVE_B
if (!m_spellInfo->StackAmount)
stackAmount = 1;
else
stackAmount = m_spellInfo->StackAmount;
stackAmount = maxStackAmount;
}
// we're out of stacks, remove
else if (stackAmount <= 0)