From 76adf245868aca87e45f8aeaf5db94d657a3a8de Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 19 Oct 2008 15:11:20 -0500 Subject: [svn] Add a hack check for spell 42292. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index f7a3d96c00d..51991c01d2d 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -8039,7 +8039,7 @@ bool Unit::IsImmunedToSpell(SpellEntry const* spellInfo, bool useCharges) if(itr->type == spellInfo->Dispel) return true; - if( !(spellInfo->AttributesEx & SPELL_ATTR_EX_UNAFFECTED_BY_SCHOOL_IMMUNE)) // unaffected by school immunity + if( !(spellInfo->AttributesEx & SPELL_ATTR_EX_UNAFFECTED_BY_SCHOOL_IMMUNE) && (spellInfo->Id != 42292)) // unaffected by school immunity { // not have spells with charges currently SpellImmuneList const& schoolList = m_spellImmune[IMMUNITY_SCHOOL]; -- cgit v1.2.3