From 7092137ead596555c0b45e6de4cde6bf0d5838ee Mon Sep 17 00:00:00 2001 From: zergtmn Date: Wed, 8 Sep 2010 11:35:53 +0300 Subject: [PATCH] [10456] Implement 60764 Signed-off-by: Laise --- src/game/UnitAuraProcHandler.cpp | 4 ++++ src/shared/revision_nr.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/game/UnitAuraProcHandler.cpp b/src/game/UnitAuraProcHandler.cpp index 378af620d..a164d8394 100644 --- a/src/game/UnitAuraProcHandler.cpp +++ b/src/game/UnitAuraProcHandler.cpp @@ -2125,6 +2125,10 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura } int32 extra_attack_power = CalculateSpellDamage(pVictim, windfurySpellEntry, EFFECT_INDEX_1); + + // Totem of Splintering + if (Aura* aura = GetAura(60764, EFFECT_INDEX_0)) + extra_attack_power += aura->GetModifier()->m_amount; // Off-Hand case if (castItem->GetSlot() == EQUIPMENT_SLOT_OFFHAND) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index c83007916..6a367d13c 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 "10455" + #define REVISION_NR "10456" #endif // __REVISION_NR_H__