refactor(Core/Spell): Define some unknown spell attributes (#4305)

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
This commit is contained in:
Kitzunu
2021-01-31 23:03:44 +01:00
committed by GitHub
parent 1774a322c8
commit fcad2b56ae
4 changed files with 261 additions and 261 deletions

View File

@@ -968,7 +968,7 @@ bool Aura::ModStackAmount(int32 num, AuraRemoveMode removeMode, bool periodicRes
return true;
}
bool refresh = stackAmount >= GetStackAmount();
bool refresh = stackAmount >= GetStackAmount() && (m_spellInfo->StackAmount || !m_spellInfo->HasAttribute(SPELL_ATTR1_DONT_REFRESH_DURATION_ON_RECAST));
// Update stack amount
if (refresh)