chore(Core): Correct typo of Suppress. (#20229)

* Init.

* Adjust spacing.
This commit is contained in:
Benjamin Jackson
2024-10-17 16:09:53 -04:00
committed by GitHub
parent 9182e970d4
commit 4ad9d68f42
8 changed files with 57 additions and 57 deletions

View File

@@ -1062,7 +1062,7 @@ uint32 Unit::DealDamage(Unit* attacker, Unit* victim, uint32 damage, CleanDamage
{
if (spellProto && victim->CanHaveThreatList() && !victim->HasUnitState(UNIT_STATE_EVADE) && !victim->IsInCombatWith(attacker))
{
victim->CombatStart(attacker, !(spellProto->AttributesEx3 & SPELL_ATTR3_SUPRESS_TARGET_PROCS));
victim->CombatStart(attacker, !(spellProto->AttributesEx3 & SPELL_ATTR3_SUPPRESS_TARGET_PROCS));
}
victim->AddThreat(attacker, float(damage), damageSchoolMask, spellProto);