Core/Spells: Fix Glyph of Felhunter

Author: Lopin

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-12-23 19:03:28 +01:00
parent ca78881c63
commit f3dd337c6a

View File

@@ -3229,6 +3229,10 @@ void Spell::EffectDispel(SpellEffIndex effIndex)
{
int32 heal_amount = SpellMgr::CalculateSpellEffectAmount(m_spellInfo, 1);
m_caster->CastCustomSpell(m_caster, 19658, &heal_amount, NULL, NULL, true);
// Glyph of Felhunter
if (Unit * pOwner = m_caster->GetOwner())
if (pOwner->GetAura(56249))
pOwner->CastCustomSpell(pOwner, 19658, &heal_amount, NULL, NULL, true);
}
}