mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 10:37:01 +00:00
[9361] Correct the health increased by spell 55233
Signed-off-by: Lightguard <Lightguard@tauri.hu>
This commit is contained in:
parent
5d59f03b25
commit
c579b7dfc1
2 changed files with 4 additions and 3 deletions
|
|
@ -5193,14 +5193,15 @@ void Aura::HandleAuraModIncreaseHealth(bool apply, bool Real)
|
|||
case 44055: case 55915: case 55917: case 67596: // Tremendous Fortitude (Battlemaster's Alacrity)
|
||||
case 50322: // Survival Instincts
|
||||
case 54443: // Demonic Empowerment (Voidwalker)
|
||||
case 55233: // Vampiric Blood
|
||||
{
|
||||
if(Real)
|
||||
{
|
||||
if(apply)
|
||||
{
|
||||
// Demonic Empowerment (Voidwalker) - special case, store percent in data
|
||||
// Demonic Empowerment (Voidwalker) & Vampiric Blood - special cases, store percent in data
|
||||
// recalculate to full amount at apply for proper remove
|
||||
if (GetId() == 54443)
|
||||
if (GetId() == 54443 || GetId() == 55233)
|
||||
m_modifier.m_amount = m_target->GetMaxHealth() * m_modifier.m_amount / 100;
|
||||
|
||||
m_target->HandleStatModifier(UNIT_MOD_HEALTH, TOTAL_VALUE, float(m_modifier.m_amount), apply);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9360"
|
||||
#define REVISION_NR "9361"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue