feat: update acc scaling for aim

This commit is contained in:
tsunyoku
2022-11-21 17:40:20 +00:00
parent 568bacdba6
commit 81bec8c196
+4 -3
View File
@@ -437,9 +437,10 @@ impl<'m> OsuPP<'m> {
}
// Scale with accuracy
let acc_factor = if self.mods.rx() { 0.3 } else { 0.5 };
aim_value *= acc_factor + self.acc.unwrap() / 2.0;
aim_value *= 0.98 + attributes.od as f32 * attributes.od as f32 / 2500.0;
aim_value *= self.acc.unwrap();
let acc_factor = if self.mods.rx() { 0.96 } else { 0.98 };
aim_value *= acc_factor + attributes.od as f32 * attributes.od as f32 / 2500.0;
aim_value
}