Core/Spells: more immunities fixes! mechanics are supposed to be checked for finding out if immune to the entire spell.

This commit is contained in:
Kandera
2012-05-15 15:07:53 -04:00
parent 648321e121
commit c05c16a8de
+1 -1
View File
@@ -11582,7 +11582,7 @@ bool Unit::IsImmunedToSpell(SpellInfo const* spellInfo)
{ {
// State/effect immunities applied by aura expect full spell immunity // State/effect immunities applied by aura expect full spell immunity
// Ignore effects with mechanic, they are supposed to be checked separately // Ignore effects with mechanic, they are supposed to be checked separately
if (spellInfo->Effects[i].Mechanic || !IsImmunedToSpellEffect(spellInfo, i)) if (!IsImmunedToSpellEffect(spellInfo, i))
{ {
immuneToAllEffects = false; immuneToAllEffects = false;
break; break;