Fix Elemental sharpening stones applied to an offhand weapon. (#2167)

This commit is contained in:
Gamemechanic
2023-09-16 12:56:45 +02:00
committed by GitHub
parent 4619124291
commit 060a4e0fee
4 changed files with 1 additions and 7 deletions
-2
View File
@@ -525,11 +525,9 @@ void Player::UpdateAllCritPercentages()
float value = GetMeleeCritFromAgility();
SetBaseModValue(CRIT_PERCENTAGE, PCT_MOD, value);
SetBaseModValue(OFFHAND_CRIT_PERCENTAGE, PCT_MOD, value);
SetBaseModValue(RANGED_CRIT_PERCENTAGE, PCT_MOD, value);
UpdateCritPercentage(BASE_ATTACK);
UpdateCritPercentage(OFF_ATTACK);
UpdateCritPercentage(RANGED_ATTACK);
}