diff options
author | Nevan <none@none> | 2009-08-18 05:17:19 +0200 |
---|---|---|
committer | Nevan <none@none> | 2009-08-18 05:17:19 +0200 |
commit | 7c2db4f2a9c55869c44b848fef9daf43091e981e (patch) | |
tree | 528de7c7155b3d7131bcac45cbb8d947bfbf2d86 /src | |
parent | c84d37c2c21371eb871c16b449a9bac0cff6da13 (diff) |
*Fix Glyph of Rune Tap. (To not heal caster)
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 04e3f4e31a8..9c9d10ee666 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); |