diff options
author | Shauren <none@none> | 2010-09-05 11:33:35 +0200 |
---|---|---|
committer | Shauren <none@none> | 2010-09-05 11:33:35 +0200 |
commit | b39a21b795f85017e8d29402ce96196de64e2c07 (patch) | |
tree | 7e3bc309cf270a80a0c4bd3db1449262a0f01364 /src | |
parent | 67c37b37cc5e49147b21c65243e00b46824c61fc (diff) |
Core/Spells: Check correct Attributes field in CanSpellPierceImmuneAura, patch by Maxdestroyer
Closes issue #3785.
--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 b395c14344b..f8d35796cd3 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -3221,7 +3221,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->AttributesEx & SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY))) + && !(aura && (aura->Attributes & SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY))) return true; return false; |