diff options
author | Kevin Darcel <kevin.darcel@gmail.com> | 2013-01-22 03:50:08 -0800 |
---|---|---|
committer | Kevin Darcel <kevin.darcel@gmail.com> | 2013-01-22 03:50:08 -0800 |
commit | cf95ac23736494d819beb8c1556bb6788cd52b49 (patch) | |
tree | 1f3715553a92cb15ab4bd9492ca3ac93e80abff2 /src | |
parent | 5f5ae0a286872b0bbdc5898e5c70e7678baccbe6 (diff) | |
parent | bff076bd2ae3ae091390989276b8a31ab7acfcfe (diff) |
Merge pull request #9010 from Souler/fix_dispel_effects
[4.3.4] Spells: Dispel effects can always be casted
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/Spell.cpp | 3 |
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) { |