*Resurrection sickness and similar debuffs are no longer dispelable.
--HG-- branch : trunk
This commit is contained in:
1 parent
66d8255625
commit
fc4087cd98
5 files changed
+38
-15
No files matched your search
@@ -11078,7 +11078,7 @@ bool Unit::IsImmunedToDamage(SpellEntry const* spellInfo)
|
||||
//If m_immuneToSchool type contain this school type, IMMUNE damage.
|
||||
SpellImmuneList const& schoolList = m_spellImmune[IMMUNITY_SCHOOL];
|
||||
for (SpellImmuneList::const_iterator itr = schoolList.begin(); itr != schoolList.end(); ++itr)
|
||||
if (itr->type & shoolMask &&!IsDispelableBySpell(spellInfo, itr->spellId))
|
||||
if (itr->type & shoolMask && !CanSpellPierceImmuneAura(spellInfo, sSpellStore.LookupEntry(itr->spellId)))
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -11136,7 +11136,7 @@ bool Unit::IsImmunedToSpell(SpellEntry const* spellInfo)
|
||||
for (SpellImmuneList::const_iterator itr = schoolList.begin(); itr != schoolList.end(); ++itr)
|
||||
if ((itr->type & GetSpellSchoolMask(spellInfo))
|
||||
&& !(IsPositiveSpell(itr->spellId) && IsPositiveSpell(spellInfo->Id))
|
||||
&& !IsDispelableBySpell(spellInfo, itr->spellId))
|
||||
&& !CanSpellPierceImmuneAura(spellInfo, sSpellStore.LookupEntry(itr->spellId)))
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user