*Fix the bug that the bonus of mental quickness does not change when AP changes.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-13 10:20:43 -06:00
parent 98e122b153
commit fc75674217

View File

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