Jump to content

[9139][fix]Glyph of Rejuvenation


Recommended Posts

Posted

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

fixes healing of Glyph of Rejuvenation

For which repository revision was the patch created?

9130

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

haven't seen any

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

me

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 55e11ec..590c45d 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5843,6 +5843,15 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
                    triggered_spell_id = 32747;
                    break;
                }
+                // Glyph of Rejuvenation
+                case 54754:
+                {
+                    if (pVictim->GetMaxHealth() * 0.5 < pVictim->GetHealth())
+                        return false;
+                    basepoints0 = triggerAmount * damage / 100;
+                    triggered_spell_id = 54755;
+                    break;
+                }
            }
            // Eclipse
            if (dummySpell->SpellIconID == 2856)

-- (54754) Glyph of Rejuvenation ()
DELETE FROM `spell_proc_event` WHERE `entry` IN (54754);
INSERT INTO `spell_proc_event` VALUES
(54754, 0x08, 7, 0x00000010, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

from retail info its heal amount is just half of Rejuvenation ticks

×
×
  • 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