mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Spells: Dispel effects can always be casted.
Signed-off-by: Souler <soulerhyd@gmail.com>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user