mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
Core/Spells: fix shield slam giving nothing to dispel error.
This commit is contained in:
@@ -4959,7 +4959,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].IsTargetingArea())
|
||||
if (m_spellInfo->Effects[i].IsTargetingArea() || m_spellInfo->AttributesEx & SPELL_ATTR1_MELEE_COMBAT_START)
|
||||
{
|
||||
hasDispellableAura = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user