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
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