diff options
| author | Shauren <shauren.trinity@gmail.com> | 2025-01-02 19:08:19 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-01-02 19:08:19 +0100 |
| commit | 586651031ee847232d0dabf3eff9e6b01075ef31 (patch) | |
| tree | 95afe45d0808ec3d350d8f8a409d1d57620dcd8a /src | |
| parent | 06b106b06a1080f3d00ab6dd6a15a6d80e39eb49 (diff) | |
Core/Auras: Fixed aura stacks being reset to default max stack size when modified by SpellModOp::MaxAuraStacks and reaching the new limit
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Spells/Auras/SpellAuras.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index 72e0fe110e7..697e4ed5cb4 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -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) |
