Jump to content

[patch] Glyph of Siphon Life


Recommended Posts

Posted

Patch for glyph of siphon life.

Author: me (SKW)

Tested on rev. 8145

@@ -5137,10 +5137,13 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
                    break;
                }
                // Siphon Life
                case 63108:
                {
+					// Glyph of Siphon Life
+					if (this->HasAura(56216))
+						triggerAmount += triggerAmount / 4;
                    basepoints0 = int32(damage * triggerAmount / 100);
                    triggered_spell_id = 63106;
                    break;
                }
            }

Posted

cleaned patch from first post

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index df41fba..35cec98 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5139,6 +5139,9 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
                // Siphon Life
                case 63108:
                {
+                    // Glyph of Siphon Life
+                    if (this->HasAura(56216))
+                        triggerAmount += triggerAmount * 25 / 100;
                    basepoints0 = int32(damage * triggerAmount / 100);
                    triggered_spell_id = 63106;
                    break;

  • 8 months later...
×
×
  • 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