Merge pull request #9010 from Souler/fix_dispel_effects

[4.3.4] Spells: Dispel effects can always be casted
This commit is contained in:
Kevin Darcel
2013-01-22 03:50:08 -08:00
+3
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)
{