DB update to have correct Windfury proc chance for already commited hack :)

--HG--
branch : trunk
This commit is contained in:
Astellar
2010-01-05 21:08:44 +03:00
parent 4c2ccf6ccc
commit 082e7bac47
3 changed files with 3 additions and 3 deletions

View File

@@ -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);