diff options
| author | Astellar <none@none> | 2010-01-05 21:08:44 +0300 |
|---|---|---|
| committer | Astellar <none@none> | 2010-01-05 21:08:44 +0300 |
| commit | 082e7bac479137a8b71e99f0ba5e1fafad7e5d1d (patch) | |
| tree | c840733dd4f53bb1d8c97add4c5e50c516e06ffd /src | |
| parent | 4c2ccf6ccc3b8c19e885e7d0dfa5c579772ab5ce (diff) | |
DB update to have correct Windfury proc chance for already commited hack :)
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Unit.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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); |
