Fixed Starfall: root effect shouldn't supress the starfall effect

This commit is contained in:
Ramusik
2011-04-10 08:46:47 +03:00
parent 6ee47ad22f
commit 5908b2af47

View File

@@ -1364,7 +1364,7 @@ void Spell::EffectDummy(SpellEffIndex effIndex)
}
//Any effect which causes you to lose control of your character will supress the starfall effect.
if (m_caster->HasUnitState(UNIT_STAT_STUNNED | UNIT_STAT_FLEEING | UNIT_STAT_ROOT | UNIT_STAT_CONFUSED))
if (m_caster->HasUnitState(UNIT_STAT_CONTROLLED))
return;
m_caster->CastSpell(unitTarget, damage, true);