Fix to damage mods and bonus weapon damage interaction (#161)

This commit is contained in:
GuybrushGit
2018-07-11 13:03:40 +01:00
committed by ratkosrb
parent ecc1ea4b1b
commit 8619543cfb
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -430,6 +430,7 @@ void Player::CalculateMinMaxDamage(WeaponAttackType attType, bool normalized, fl
{
base_value = 0.0f;
total_value = 0.0f;
total_phys = 0.0f;
}
min_damage = ((base_value + weapon_mindamage) * base_pct + total_value + total_phys) * total_pct;