From 56961a2ebcdc571f31b465cc6fb2eaaa0ad30b81 Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Sun, 25 May 2025 11:07:45 -0400 Subject: [PATCH] Core/Auras: Fixed aura stacks being reset to default max stack size when modified by SpellModOp::MaxAuraStacks and reaching the new limit Port From (https://github.com/TrinityCore/TrinityCore/commit/586651031ee847232d0dabf3eff9e6b01075ef31) --- Source/Game/Spells/Auras/Aura.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Spells/Auras/Aura.cs b/Source/Game/Spells/Auras/Aura.cs index 51b4b136c..3c6ca0ae2 100644 --- a/Source/Game/Spells/Auras/Aura.cs +++ b/Source/Game/Spells/Auras/Aura.cs @@ -952,7 +952,7 @@ namespace Game.Spells if (m_spellInfo.StackAmount == 0) stackAmount = 1; else - stackAmount = (int)m_spellInfo.StackAmount; + stackAmount = (int)maxStackAmount; } // we're out of stacks, remove else if (stackAmount <= 0)