aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSouler <soulerhyd@gmail.com>2013-01-20 20:01:23 +0100
committerSouler <soulerhyd@gmail.com>2013-01-20 20:01:23 +0100
commitbff076bd2ae3ae091390989276b8a31ab7acfcfe (patch)
tree8e9be828c5400ba2a2cca5473b5a44ff6893bc04 /src
parent9f04720779f9553e3b61fb7c7272b7e02388325f (diff)
Spells: Dispel effects can always be casted.
Signed-off-by: Souler <soulerhyd@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/Spell.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
index c0ab92d36c5..507e755ce9d 100644
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -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)
{