[7943] Stunned targets should not be immune to fear effects.

Signed-off-by: hunuza <hunuza@gmail.com>
This commit is contained in:
Corfen 2009-06-02 12:33:08 +02:00 committed by hunuza
parent 469e8713b2
commit 454c756025
2 changed files with 1 additions and 8 deletions

View file

@ -8415,13 +8415,6 @@ bool Unit::IsImmunedToSpell(SpellEntry const* spellInfo)
if (!spellInfo)
return false;
//FIX ME this hack: don't get feared if stunned
if (spellInfo->Mechanic == MECHANIC_FEAR )
{
if ( hasUnitState(UNIT_STAT_STUNNED) )
return true;
}
//TODO add spellEffect immunity checks!, player with flag in bg is imune to imunity buffs from other friendly players!
//SpellImmuneList const& dispelList = m_spellImmune[IMMUNITY_EFFECT];