[8937] Small lost change, just more correct code by form.

This commit is contained in:
VladimirMangos 2009-12-07 14:46:37 +03:00
parent b0a6993031
commit 4ee8cb3504
2 changed files with 2 additions and 2 deletions

View file

@ -2678,7 +2678,7 @@ void Spell::EffectHeal( uint32 /*i*/ )
}
// Death Pact (percent heal)
else if (m_spellInfo->Id==48743)
addhealth = addhealth * m_caster->GetMaxHealth() / 100;
addhealth = addhealth * unitTarget->GetMaxHealth() / 100;
// Swiftmend - consumes Regrowth or Rejuvenation
else if (m_spellInfo->TargetAuraState == AURA_STATE_SWIFTMEND && unitTarget->HasAuraState(AURA_STATE_SWIFTMEND))
{