mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[11037] Max health dependent heal bonus for spell 55428 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
b46731ff7c
commit
a6ea82682d
2 changed files with 7 additions and 1 deletions
|
|
@ -4972,6 +4972,12 @@ void Aura::HandlePeriodicHeal(bool apply, bool /*Real*/)
|
|||
holy = int32(holy * 377 / 1000);
|
||||
m_modifier.m_amount += ap > holy ? ap : holy;
|
||||
}
|
||||
// Lifeblood
|
||||
else if (GetSpellProto()->SpellIconID == 3088 && GetSpellProto()->SpellVisual[0] == 8145)
|
||||
{
|
||||
int32 healthBonus = int32 (0.0032f * caster->GetMaxHealth());
|
||||
m_modifier.m_amount += healthBonus;
|
||||
}
|
||||
|
||||
m_modifier.m_amount = caster->SpellHealingBonusDone(target, GetSpellProto(), m_modifier.m_amount, DOT, GetStackAmount());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11036"
|
||||
#define REVISION_NR "11037"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue