feat: scale ar bonus with length

This commit is contained in:
tsunyoku
2022-11-21 17:29:55 +00:00
parent 8bdcdf1a30
commit 6d78d06172
+2 -2
View File
@@ -390,7 +390,7 @@ impl<'m> OsuPP<'m> {
ar_factor = 0.025 * (8.0 - attributes.ar); ar_factor = 0.025 * (8.0 - attributes.ar);
} }
aim_value *= 1.0 + ar_factor as f32; aim_value *= 1.0 + ar_factor as f32 * len_bonus;
// HD bonus // HD bonus
if self.mods.hd() { if self.mods.hd() {
@@ -479,7 +479,7 @@ impl<'m> OsuPP<'m> {
ar_factor = 0.025 * (8.0 - attributes.ar); ar_factor = 0.025 * (8.0 - attributes.ar);
} }
speed_value *= 1.0 + ar_factor as f32; speed_value *= 1.0 + ar_factor as f32 * len_bonus;
} }
// HD bonus // HD bonus