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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user