From 082e7bac479137a8b71e99f0ba5e1fafad7e5d1d Mon Sep 17 00:00:00 2001 From: Astellar Date: Tue, 5 Jan 2010 21:08:44 +0300 Subject: DB update to have correct Windfury proc chance for already commited hack :) --HG-- branch : trunk --- src/game/Unit.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 1b0c532ed47..93694a21f2d 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -6705,8 +6705,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger return false; // Now compute real proc chance... - Aura* aur = GetAura(55445, 0); - uint32 chance = 20/* + (aur ? aur->GetAmount()->m_amount : 0)*/; + uint32 chance = 20; ((Player*)this)->ApplySpellMod(dummySpell->Id,SPELLMOD_CHANCE_OF_SUCCESS,chance); Item* addWeapon = ((Player*)this)->GetWeaponForAttack(attType == BASE_ATTACK ? OFF_ATTACK : BASE_ATTACK, true); -- cgit v1.2.3