Core/Spells: fixed calling dispel spellscript hook

This commit is contained in:
Ovahlord committed 2018-03-19 19:28:57 +01:00
1 parent 42c61ac767
commit 31ddc3bdbe
1 file changed
+2
+2
View File
@@ -2291,6 +2291,8 @@ void Spell::EffectDispel(SpellEffIndex effIndex)
}
m_caster->SendMessageToSet(&dataSuccess, true);
CallScriptSuccessfulDispel(effIndex);
// On success dispel
// Devour Magic
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_WARLOCK && m_spellInfo->GetCategory() == SPELLCATEGORY_DEVOUR_MAGIC)