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++)
|
for (int i = 0; i < MAX_SPELL_EFFECTS; i++)
|
||||||
if (m_spellInfo->Effects[i].Effect == SPELL_EFFECT_DISPEL)
|
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;
|
hasDispellableAura = true;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user