mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-15 04:32:35 -04:00
*Fix the bug that the bonus of mental quickness does not change when AP changes.
--HG-- branch : trunk
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user