mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Spells: Used correct implementation for checking if a spell effect targets an area.
This commit is contained in:
@@ -4942,7 +4942,7 @@ SpellCastResult Spell::CheckCast(bool strict)
|
||||
for (int i = 0; i < MAX_SPELL_EFFECTS; i++)
|
||||
if (m_spellInfo->Effects[i].Effect == SPELL_EFFECT_DISPEL)
|
||||
{
|
||||
if (m_spellInfo->Effects[i].TargetA.IsArea() || m_spellInfo->Effects[i].TargetB.IsArea())
|
||||
if (m_spellInfo->Effects[i].IsTargetingArea())
|
||||
{
|
||||
hasDispellableAura = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user