diff options
author | maximius <none@none> | 2009-09-15 20:03:58 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-09-15 20:03:58 -0700 |
commit | 00409c67cf9537a218e8786e9a7e3fbf1df0d73b (patch) | |
tree | eaec0f05676646bf9817a942acee3b0e9082e22e /src/game/Unit.cpp | |
parent | 88d632d153f6903c8224241d20fdb7a318f9cba9 (diff) |
*Levelling Weapon Skill patch (Author: Menia), thanks Sorken :)
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index dac9f91a16e..c6fd2e5c270 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -12592,8 +12592,8 @@ void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag ((Player*)this)->UpdateCombatSkills(pTarget, attType, isVictim); } // Update defence if player is victim and parry/dodge/block - if (isVictim && procExtra&(PROC_EX_DODGE|PROC_EX_PARRY|PROC_EX_BLOCK)) - ((Player*)this)->UpdateDefense(); + else if (isVictim && procExtra&(PROC_EX_DODGE|PROC_EX_PARRY|PROC_EX_BLOCK)) + ((Player*)this)->UpdateCombatSkills(pTarget, attType, MELEE_HIT_DODGE); } // If exist crit/parry/dodge/block need update aura state (for victim and attacker) if (procExtra & (PROC_EX_CRITICAL_HIT|PROC_EX_PARRY|PROC_EX_DODGE|PROC_EX_BLOCK)) |