diff options
| author | QAston <none@none> | 2010-08-04 19:16:44 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2010-08-04 19:16:44 +0200 |
| commit | 96eb7c513fa18ee523ae7a4a969e406ba7a2fc55 (patch) | |
| tree | 0b586ac4ada55c0dcb0924aed8b1a8d8ca7e186a /src/server/game/Spells/SpellMgr.cpp | |
| parent | 40e16bbbdb59d6c860fa9f47fae645cb7771b236 (diff) | |
*Some more research about spell target flags - thanks to Zor for info.
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
| -rw-r--r-- | src/server/game/Spells/SpellMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 929eb6b94e3..c4870a9b92f 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -3230,7 +3230,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->AttributesEx & SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY))) return true; return false; @@ -3784,7 +3784,7 @@ void SpellMgr::LoadSpellCustomAttr() break; // some dummy spell only has dest, should push caster in this case case 62324: // Throw Passenger - spellInfo->Targets |= TARGET_FLAG_CASTER; + spellInfo->Targets |= TARGET_FLAG_UNIT_CASTER; count++; break; case 51735: // Ebon Plague |
