mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Fix a typo
This commit is contained in:
@@ -5205,7 +5205,7 @@ void Spell::EffectKnockBack(SpellEffIndex effIndex)
|
||||
return;
|
||||
|
||||
// Spells with SPELL_EFFECT_KNOCK_BACK(like Thunderstorm) can't knoback target if target has ROOT/STUN
|
||||
if (unitTarget->HasUnitState(UNIT_STAT_ROOT | UNIT_STAT_STUNNED))
|
||||
if (unitTarget->HasUnitState(UNIT_STATE_ROOT | UNIT_STATE_STUNNED))
|
||||
return;
|
||||
|
||||
// Typhoon
|
||||
|
||||
Reference in New Issue
Block a user