*Resurrection sickness and similar debuffs are no longer dispelable.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-07-26 19:27:28 +02:00
parent 66d8255625
commit fc4087cd98
5 changed files with 38 additions and 15 deletions
@@ -4273,7 +4273,7 @@ void AuraEffect::HandleAuraModSchoolImmunity(AuraApplication const * aurApp, uin
{
SpellEntry const *spell = iter->second->GetBase()->GetSpellProto();
if ((GetSpellSchoolMask(spell) & school_mask)//Check for school mask
&& IsDispelableBySpell(GetSpellProto(),spell->Id, true)
&& CanSpellDispelAura(GetSpellProto(),spell)
&& !iter->second->IsPositive() //Don't remove positive spells
&& spell->Id != GetId()) //Don't remove self
{