Core/Spells: Defined new spell attributes

Port From (https://github.com/TrinityCore/TrinityCore/commit/b2ddf547ff7acd3dab7c93579d8a44fe825c7ecf)
This commit is contained in:
hondacrx
2021-01-19 13:46:59 -05:00
parent 94705b782c
commit fc475c4338
4 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -881,7 +881,7 @@ namespace Game.Spells
return true;
}
bool refresh = stackAmount >= GetStackAmount();
bool refresh = stackAmount >= GetStackAmount() && (m_spellInfo.StackAmount != 0 || !m_spellInfo.HasAttribute(SpellAttr1.DontRefreshDurationOnRecast));
// Update stack amount
SetStackAmount((byte)stackAmount);