Core/Auras: Implemented new spell modifier type to change aura stack size on apply

Port From (https://github.com/TrinityCore/TrinityCore/commit/51a9d2a9c20f36f5343049a340663601c1c1165b)
This commit is contained in:
hondacrx
2021-02-22 16:01:43 -05:00
parent dd425437b8
commit e74d30024f
3 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -870,7 +870,7 @@ namespace Game.Spells
{
Player modOwner = caster.GetSpellModOwner();
if (modOwner != null)
modOwner.ApplySpellMod(m_spellInfo.Id, SpellModOp.StackAmount2, ref maxStackAmount);
modOwner.ApplySpellMod(m_spellInfo.Id, SpellModOp.MaxStackAmount, ref maxStackAmount);
}
return maxStackAmount;
}