mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[8883] Implement instant healing part of talent 63534 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
026e540c49
commit
63258f2407
7 changed files with 34 additions and 3 deletions
|
|
@ -5445,6 +5445,21 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
|||
triggered_spell_id = 47753;
|
||||
break;
|
||||
}
|
||||
// Empowered Renew
|
||||
case 3021:
|
||||
{
|
||||
if (!procSpell)
|
||||
return false;
|
||||
|
||||
Aura* healingAura = pVictim->GetAura(procSpell->Id,0);
|
||||
if (!healingAura)
|
||||
return false;
|
||||
|
||||
int32 healingfromticks = SpellHealingBonus(pVictim, procSpell, (healingAura->GetModifier()->m_amount* GetSpellAuraMaxTicks(procSpell)), DOT);
|
||||
basepoints0 = healingfromticks * triggerAmount / 100;
|
||||
triggered_spell_id = 63544;
|
||||
break;
|
||||
}
|
||||
// Improved Devouring Plague
|
||||
case 3790:
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue