diff options
| author | Shauren <shauren.trinity@gmail.com> | 2023-08-09 00:11:29 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2023-08-09 00:11:29 +0200 |
| commit | e0ab6330c1ef096b650702633a60181b9ecdd351 (patch) | |
| tree | d833ab0db94898d24b7df6de1aa6a90853815983 /src | |
| parent | 86725ed9267803506d8a5cab04c2c5641a234dd9 (diff) | |
Core/Auras: Treat auras with more than 1 active stack as using stacks too (max stack could have been changed from 0 to something else using spell mods)
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 d6e11cb6521..eef50859676 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -1024,7 +1024,7 @@ void Aura::SetStackAmount(uint8 stackAmount) bool Aura::IsUsingStacks() const { - return m_spellInfo->StackAmount > 0; + return m_spellInfo->StackAmount > 0 || m_stackAmount > 1; } uint32 Aura::CalcMaxStackAmount() const |
