*Fix Glyph of Rune Tap. (To not heal caster)
--HG-- branch : trunk
This commit is contained in:
1 parent
c84d37c2c2
commit
7c2db4f2a9
1 file changed
+4
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user