fix(Core/Spells): add SPELL_ATTR0_CU_NO_INITIAL_THREAT to some spells (#7291)

- Closes #7241
This commit is contained in:
UltraNix 2021-08-19 16:40:00 +02:00 committed by GitHub
parent f538eaceba
commit 122fd3ec74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 21 deletions

View file

@ -5078,7 +5078,7 @@ void Spell::HandleThreatSpells()
threat += threatEntry->flatMod;
}
else if (m_spellInfo->HasAttribute(SPELL_ATTR0_CU_NO_INITIAL_THREAT) == 0)
else if (!m_spellInfo->HasAttribute(SPELL_ATTR0_CU_NO_INITIAL_THREAT))
threat += m_spellInfo->SpellLevel;
// past this point only multiplicative effects occur