mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01: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