From 81d55d4a41ce607d34ba9d4e7b0ebe042562577f Mon Sep 17 00:00:00 2001 From: Insider Date: Fri, 25 Dec 2009 22:40:34 +0300 Subject: [PATCH] [9071] Fixed exclusive triggering 2 buff versions for talent 48516 and ranks. (based on commit acac608) Signed-off-by: VladimirMangos --- src/game/Unit.cpp | 4 ++++ src/shared/revision_nr.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 07d387729..d59a2bcb8 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5841,6 +5841,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu // Wrath crit if (procSpell->SpellFamilyFlags & UI64LIT(0x0000000000000001)) { + if (HasAura(48517)) + return false; if (!roll_chance_i(60)) return false; triggered_spell_id = 48518; @@ -5850,6 +5852,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu // Starfire crit if (procSpell->SpellFamilyFlags & UI64LIT(0x0000000000000004)) { + if (HasAura(48518)) + return false; triggered_spell_id = 48517; target = this; break; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 749126bad..0f62e5bc8 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 "9070" + #define REVISION_NR "9071" #endif // __REVISION_NR_H__