diff options
| author | QAston <none@none> | 2009-07-27 11:07:15 +0200 | 
|---|---|---|
| committer | QAston <none@none> | 2009-07-27 11:07:15 +0200 | 
| commit | 1630842f03e0ae25ed74d260f7159e8640b1890a (patch) | |
| tree | d0ea874bf098038abc5cc47056131cad54b9f2e1 /src/game/Spell.cpp | |
| parent | e02e2f1311cba6e62b3ab94a289a60ce2713ca77 (diff) | |
*Spell_bonus_data for Shattering throw and Hand of Reckogning
*Do not check SPELL_ATTR_EX_CANT_TARGET_SELF for triggered spells
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
| -rw-r--r-- | src/game/Spell.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 8f47a8252d4..dfa2687c72d 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -4341,7 +4341,7 @@ SpellCastResult Spell::CheckCast(bool strict)          if(m_spellInfo->excludeTargetAuraSpell && target->HasAura(m_spellInfo->excludeTargetAuraSpell))              return SPELL_FAILED_TARGET_AURASTATE; -        if(target == m_caster && m_spellInfo->AttributesEx & SPELL_ATTR_EX_CANT_TARGET_SELF) +        if(!m_IsTriggeredSpell && target == m_caster && m_spellInfo->AttributesEx & SPELL_ATTR_EX_CANT_TARGET_SELF)              return SPELL_FAILED_BAD_TARGETS;          if(target != m_caster)  | 
