mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[8936] Implement spell 48743
This commit is contained in:
parent
338375c16d
commit
b0a6993031
3 changed files with 41 additions and 2 deletions
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue