Core/Spells: SPELL_AURA_SCHOOL_IMMUNITY auras shouldn't remove passive auras (even if negative)

Ref issue #6375

(cherry picked from commit b2fbd2c75df72034cc613b1a0054916f454f16ce)
This commit is contained in:
ariel-
2017-03-04 20:19:09 +01:00
committed by joschiwald
parent 3ce3acf765
commit 4c0bed8283
@@ -3438,6 +3438,7 @@ void AuraEffect::HandleAuraModSchoolImmunity(AuraApplication const* aurApp, uint
return (spell->GetSchoolMask() & schoolMask) // Check for school mask
&& GetSpellInfo()->CanDispelAura(spell)
&& !aurApp->IsPositive() // Don't remove positive spells
&& !spell->IsPassive() // Don't remove passive auras
&& spell->Id != GetId(); // Don't remove self
});
}