[8936] Implement spell 48743

This commit is contained in:
VladimirMangos 2009-12-07 14:04:12 +03:00
parent 338375c16d
commit b0a6993031
3 changed files with 41 additions and 2 deletions

View file

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