Jump to content

Recommended Posts

Posted

What bug does the patch fix? What features does the patch add?

fixes health increase % of Vampiric Blood

For which repository revision was the patch created?

9257

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

http://getmangos.eu/community/showthread.php?12121-DK-bug-list

Who has been writing this patch? Please include either forum user names or email addresses.

me

diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index b07780d..e3e1383 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -5166,14 +5166,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);

  • 40 years later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use