reduce length bonus on the upper threshold

This commit is contained in:
tsunyoku
2023-07-22 22:32:48 +01:00
parent b441713089
commit 648ff112d4
+2 -2
View File
@@ -466,7 +466,7 @@ impl OsuPpInner {
let len_bonus = 0.95
+ 0.4 * (total_hits / 2000.0).min(1.0)
+ (total_hits > 2000.0) as u8 as f64 * (total_hits / 2000.0).log10() * 0.5;
+ (total_hits > 2000.0) as u8 as f64 * (total_hits / 2000.0).log10() * 0.3;
aim_value *= len_bonus;
@@ -532,7 +532,7 @@ impl OsuPpInner {
let len_bonus = 0.95
+ 0.4 * (total_hits / 2000.0).min(1.0)
+ (total_hits > 2000.0) as u8 as f64 * (total_hits / 2000.0).log10() * 0.5;
+ (total_hits > 2000.0) as u8 as f64 * (total_hits / 2000.0).log10() * 0.3;
speed_value *= len_bonus;