diff options
author | QAston <none@none> | 2009-05-19 20:33:11 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-05-19 20:33:11 +0200 |
commit | e348b671e7cbe8ce328a4bf07c635328a4accb3c (patch) | |
tree | 669e62463079ba5af3826a50300f77bd7d0ca649 /src/game/Unit.cpp | |
parent | 2b47f0c0f7756b89384a3c6969a8a133b3a18ee8 (diff) |
*Corret proc from bloodsurge and judgements of the wise
*Do not proc backfire dmg from sw:death if target is killed
*Allow hots to proc from selfcast
*Fix glyph of corruption.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 725d934910a..68dc580bc19 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5533,6 +5533,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger // Nightfall case 18094: case 18095: + // Glyph of corruption + case 56218: { target = this; triggered_spell_id = 17941; @@ -5795,7 +5797,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger // Glyph of Rejuvenation case 54754: { - if (pVictim->GetHealth() >= triggerAmount * pVictim->GetMaxHealth()/100) + if (!pVictim || pVictim->GetHealth() >= triggerAmount * pVictim->GetMaxHealth()/100) return false; basepoints0 = int32(triggerAmount * damage / 100); triggered_spell_id = 54755; |