diff options
author | megamage <none@none> | 2008-10-19 15:11:20 -0500 |
---|---|---|
committer | megamage <none@none> | 2008-10-19 15:11:20 -0500 |
commit | 76adf245868aca87e45f8aeaf5db94d657a3a8de (patch) | |
tree | 010f5e8996a635cd4c1c92e6c78358e3141d6698 /src | |
parent | ed0803ecf2c0160f9288c4602cb11a7df2ea6ec5 (diff) |
[svn] Add a hack check for spell 42292.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |