From fa4838de217fd0b382b77c774e57c632829be69b Mon Sep 17 00:00:00 2001 From: QAston Date: Sun, 28 Jun 2009 10:34:22 +0200 Subject: [PATCH] *Fix for Windfury Weapon: prevent triggering other weapon enchant by checking item guids. --HG-- branch : trunk --- src/game/Unit.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 93107ecf55f..ae285069f74 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -6447,6 +6447,9 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger if( cooldown && ((Player*)this)->HasSpellCooldown(dummySpell->Id)) return false; + if(triggeredByAura->GetParentAura() && castItem->GetGUID() != triggeredByAura->GetParentAura()->GetCastItemGUID()) + return false; + // Now amount of extra power stored in 1 effect of Enchant spell // Get it by item enchant id uint32 spellId;