diff options
author | QAston <none@none> | 2009-04-19 01:32:22 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-04-19 01:32:22 +0200 |
commit | c75e4675134213ef05e483fb86a23ae66a58adf1 (patch) | |
tree | 80809d6bd07695f2e07f787545f4137cd9d00244 /src/game/Unit.cpp | |
parent | 8dc8babfb787578fb75214f1858168447c61b34c (diff) |
* 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
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
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 |