diff options
author | ariel- <ariel-@users.noreply.github.com> | 2016-10-02 02:48:02 -0300 |
---|---|---|
committer | ariel- <ariel-@users.noreply.github.com> | 2016-10-02 02:48:02 -0300 |
commit | b2fbd2c75df72034cc613b1a0054916f454f16ce (patch) | |
tree | 0abbadad5db93d41b8458620b2841865bcc53c75 | |
parent | a4baef19dd5d1fd42f20557d34219d9d14181545 (diff) |
Core/Spells: SPELL_AURA_SCHOOL_IMMUNITY auras shouldn't remove passive auras (even if negative)
Ref issue #6375
-rw-r--r-- | src/server/game/Spells/Auras/SpellAuraEffects.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index 3b4ac775e86..5acb97056e8 100644 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -3370,6 +3370,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 }); } |