diff options
author | Machiavelli <none@none> | 2010-12-23 19:03:28 +0100 |
---|---|---|
committer | Machiavelli <none@none> | 2010-12-23 19:03:28 +0100 |
commit | f3dd337c6af79a589debb92accf77c4d1b56f44d (patch) | |
tree | 45c9a001fa4185e631999acc4789867465d21cb8 | |
parent | ca78881c63486f3427cbfc4eaf8cc446d0d98472 (diff) |
Core/Spells: Fix Glyph of Felhunter
Author: Lopin
--HG--
branch : trunk
-rwxr-xr-x | src/server/game/Spells/SpellEffects.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 095905002a0..1218aaa1ee3 100755 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -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); } } |