diff options
author | megamage <none@none> | 2008-12-13 10:20:43 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-13 10:20:43 -0600 |
commit | fc75674217e3e69c85cf6b142a1737499186b1cc (patch) | |
tree | c6542dde05a6038a418269513202c7178f0ff10c /src | |
parent | 98e122b15314c14c2db6dcf495335075f1543506 (diff) |
*Fix the bug that the bonus of mental quickness does not change when AP changes.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/StatSystem.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/StatSystem.cpp b/src/game/StatSystem.cpp index 36818adb36d..3e9ddcf3bef 100644 --- a/src/game/StatSystem.cpp +++ b/src/game/StatSystem.cpp @@ -336,6 +336,8 @@ void Player::UpdateAttackPowerAndDamage(bool ranged ) UpdateDamagePhysical(BASE_ATTACK); if(CanDualWield() && haveOffhandWeapon()) //allow update offhand damage only if player knows DualWield Spec and has equipped offhand weapon UpdateDamagePhysical(OFF_ATTACK); + if(getClass() == CLASS_SHAMAN) // mental quickness + UpdateSpellDamageAndHealingBonus(); } } |