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)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user