Core/Auras: backout r2bf34fd7ac and add alternative - not spell specific sollution for the problem.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-12-05 20:43:09 +01:00
parent 6fe19b5a86
commit 7db1b39224
4 changed files with 11 additions and 13 deletions
+7
View File
@@ -403,6 +403,13 @@ inline bool IsAreaOfEffectSpell(SpellEntry const *spellInfo)
return false;
}
inline bool IsAreaOfEffectSpellEffect(SpellEntry const *spellInfo, uint8 effIndex)
{
if (IsAreaEffectTarget[spellInfo->EffectImplicitTargetA[effIndex]] || IsAreaEffectTarget[spellInfo->EffectImplicitTargetB[effIndex]])
return true;
return false;
}
inline bool IsFarUnitTargetEffect(uint32 effect)
{
return (effect == SPELL_EFFECT_SUMMON_PLAYER);