Core/Spells: fix dispel aggro in a less hacky way!

This commit is contained in:
Kandera committed 2012-05-18 13:49:59 -04:00
1 parent 7b8bece578
commit d1e0dc3fe0
2 files changed
+1 -4

No files matched your search

-3
View File
@@ -2610,9 +2610,6 @@ void Spell::EffectDispel(SpellEffIndex effIndex)
}
m_caster->SendMessageToSet(&dataSuccess, true);
if (m_caster->IsValidAttackTarget(unitTarget) && !m_caster->isInCombat())
m_caster->CombatStart(unitTarget);
// On success dispel
// Devour Magic
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_WARLOCK && m_spellInfo->Category == SPELLCATEGORY_DEVOUR_MAGIC)