From 7c2db4f2a9c55869c44b848fef9daf43091e981e Mon Sep 17 00:00:00 2001 From: Nevan Date: Tue, 18 Aug 2009 05:17:19 +0200 Subject: [PATCH] *Fix Glyph of Rune Tap. (To not heal caster) --HG-- branch : trunk --- src/game/SpellEffects.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 04e3f4e31a..9c9d10ee66 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2642,6 +2642,10 @@ void Spell::EffectHealPct( uint32 /*i*/ ) if (!caster) return; + // Rune Tap - Party + if (m_spellInfo->Id == 59754 && unitTarget == m_caster) + return; + uint32 addhealth = unitTarget->GetMaxHealth() * damage / 100; if(Player* modOwner = m_caster->GetSpellModOwner()) modOwner->ApplySpellMod(m_spellInfo->Id, SPELLMOD_DAMAGE, addhealth, this);