From c75e4675134213ef05e483fb86a23ae66a58adf1 Mon Sep 17 00:00:00 2001 From: QAston Date: Sun, 19 Apr 2009 01:32:22 +0200 Subject: * Turn proc flag on periodic heal spells back on. * Fix Glyph of Rejuvenation. * Fix a typo in bladestorm handling. * Use Player's Crippling Poison for Deadly Brew instead of mob one to make it not stackable(dunno if it's correct) --HG-- branch : trunk --- src/game/Unit.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index e554883ad9c..bcc96c972bc 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5615,6 +5615,15 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger triggered_spell_id = 28742; break; } + // Glyph of Rejuvenation + case 54754: + { + if (pVictim->GetHealth() >= triggerAmount * pVictim->GetMaxHealth()/100) + return false; + basepoints0 = int32(triggerAmount * damage / 100); + triggered_spell_id = 54755; + break; + } // Healing Touch Refund (Idol of Longevity trinket) case 28847: { @@ -5735,7 +5744,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger // Deadly Brew else if( dummySpell->SpellIconID == 2963 ) { - triggered_spell_id = 25809; + triggered_spell_id = 3409; break; } // Quick Recovery -- cgit v1.2.3