From 17a82a063eef815cd2c37059fdb82d72d3a0e580 Mon Sep 17 00:00:00 2001 From: Alez Date: Sun, 21 Jun 2009 16:23:54 +0400 Subject: [PATCH] [8062] Update triggering spell for talent 51625 and ranks. Signed-off-by: VladimirMangos --- src/game/Unit.cpp | 12 ++++++------ src/shared/revision_nr.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 1dc479bb4..74905c821 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5357,7 +5357,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu case 32748: { // Prevent cast Deadly Throw Interrupt on self from last effect (apply dummy) of Deadly Throw - if(this == pVictim) + if (this == pVictim) return false; triggered_spell_id = 32747; @@ -5365,7 +5365,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu } } // Cut to the Chase - if( dummySpell->SpellIconID == 2909 ) + if (dummySpell->SpellIconID == 2909) { // "refresh your Slice and Dice duration to its 5 combo point maximum" // lookup Slice and Dice @@ -5384,20 +5384,20 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu return false; } // Deadly Brew - if( dummySpell->SpellIconID == 2963 ) + if (dummySpell->SpellIconID == 2963) { - triggered_spell_id = 25809; + triggered_spell_id = 44289; break; } // Quick Recovery - if( dummySpell->SpellIconID == 2116 ) + if (dummySpell->SpellIconID == 2116) { if(!procSpell) return false; // energy cost save basepoints0 = procSpell->manaCost * triggerAmount/100; - if(basepoints0 <= 0) + if (basepoints0 <= 0) return false; target = this; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index dd8359bc2..1912b4de6 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8061" + #define REVISION_NR "8062" #endif // __REVISION_NR_H__