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

This commit is contained in:
Shauren
2025-01-02 19:08:19 +01:00
parent 06b106b06a
commit 586651031e

View File

@@ -1074,7 +1074,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)