diff options
| author | Liberate <none@none> | 2010-09-18 12:42:17 +0200 |
|---|---|---|
| committer | Liberate <none@none> | 2010-09-18 12:42:17 +0200 |
| commit | 5fa7722b945f3ad61c15862a47143f3ffc0d8f70 (patch) | |
| tree | 16769e9c32a8d0df7cc36bec7ff1db24689227a2 /src | |
| parent | d036f7726ee4d15cc62aac36075f5f037ddab438 (diff) | |
Core/Spells: Fixes certain spells that could pierce immunity auras while they shouldn't.
Fixes issue #3264
Fixes issue #3471
Fixes issue #3992
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Spells/SpellMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 92f750aa8c1..eafc039b79f 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -3225,7 +3225,7 @@ bool CanSpellPierceImmuneAura(SpellEntry const * pierceSpell, SpellEntry const * // these spells (Cyclone for example) can pierce all... if ((pierceSpell->AttributesEx & SPELL_ATTR_EX_UNAFFECTED_BY_SCHOOL_IMMUNE) // ...but not these (Divine shield for example) - && !(aura && (aura->Attributes & SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY))) + && !(aura && (aura->Mechanic == MECHANIC_IMMUNE_SHIELD || aura->Mechanic == MECHANIC_INVULNERABILITY))) return true; return false; |
