Spells: Dispel effects can always be casted.

Signed-off-by: Souler <soulerhyd@gmail.com>
This commit is contained in:
Souler
2013-01-20 20:01:23 +01:00
parent 9f04720779
commit bff076bd2a

View File

@@ -5068,6 +5068,8 @@ SpellCastResult Spell::CheckCast(bool strict)
}
}
// Updated 4.3.4. Dispel effects can always be cast (even when there's nothing to dispel).
/*
if (!hasNonDispelEffect && !hasDispellableAura && dispelMask && !IsTriggered())
{
if (Unit* target = m_targets.GetUnitTarget())
@@ -5078,6 +5080,7 @@ SpellCastResult Spell::CheckCast(bool strict)
return SPELL_FAILED_NOTHING_TO_DISPEL;
}
}
*/
for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)
{