*Fix abolish poison. (Set caster be taget when range = 0 and target type = single target)

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-21 14:01:26 -06:00
parent 77cd31a92b
commit 1759a7cf5c
4 changed files with 130 additions and 120 deletions

View File

@@ -384,7 +384,7 @@ Spell::Spell( Unit* Caster, SpellEntry const *info, bool triggered, uint64 origi
if(!IsPositiveTarget(m_spellInfo->EffectImplicitTargetA[j],m_spellInfo->EffectImplicitTargetB[j]))
m_canReflect = true;
else
m_canReflect = (m_spellInfo->AttributesEx & (1<<7)) ? true : false;
m_canReflect = (m_spellInfo->AttributesEx & SPELL_ATTR_EX_NEGATIVE) ? true : false;
if(m_canReflect)
continue;