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