Jump to content

[9306][fix]Glyph of Renewed Life


Recommended Posts

Posted

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

allows to use Reincarnation with this glyph

For which repository revision was the patch created?

9292

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/Player.cpp b/src/game/Player.cpp
index a767d55..df8d7c6 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -19601,7 +19601,7 @@ uint32 Player::GetResurrectionSpellId()
    }

    // Reincarnation (passive spell)                        // prio: 1
-    if(prio < 1 && HasSpell(20608) && !HasSpellCooldown(21169) && HasItemCount(17030,1))
+    if(prio < 1 && HasSpell(20608) && !HasSpellCooldown(21169) && (HasItemCount(17030,1) || HasAura(58059, 0))) // Glyph of Renewed Life
        spell_id = 21169;

    return spell_id;

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