Fixed Starfall: root effect shouldn't supress the starfall effect
This commit is contained in:
@@ -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.
|
//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;
|
return;
|
||||||
|
|
||||||
m_caster->CastSpell(unitTarget, damage, true);
|
m_caster->CastSpell(unitTarget, damage, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user