Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
- index a8f5665..adc6401 100644
- --- a/src/server/game/Spells/Spell.cpp
- +++ b/src/server/game/Spells/Spell.cpp
- @@ -5253,7 +5267,7 @@ SpellCastResult Spell::CheckCast(bool strict)
- }
- // Dispel check - only if the first effect is dispel
- - if (!m_IsTriggeredSpell && (m_spellInfo->Effect[EFFECT_0] == SPELL_EFFECT_DISPEL))
- + /*if (!m_IsTriggeredSpell && (m_spellInfo->Effect[EFFECT_0] == SPELL_EFFECT_DISPEL))
- if (Unit const * target = m_targets.getUnitTarget())
- if (!GetSpellRadius(m_spellInfo, EFFECT_0, target->IsFriendlyTo(m_caster)))
- {
- @@ -5300,7 +5314,7 @@ SpellCastResult Spell::CheckCast(bool strict)
- if (failed)
- return SPELL_FAILED_NOTHING_TO_DISPEL;
- }
- - }
- + }*/
- for (int i = 0; i < MAX_SPELL_EFFECTS; i++)
- {
Advertisement
Add Comment
Please, Sign In to add comment