feat: remove aim, reduce flashlight when using autopilot
This commit is contained in:
@@ -149,6 +149,11 @@ impl<'map> OsuStars<'map> {
|
||||
flashlight_rating *= 0.7;
|
||||
}
|
||||
|
||||
if mods.ap() {
|
||||
aim_rating = 0.0;
|
||||
flashlight_rating *= 0.4;
|
||||
}
|
||||
|
||||
let base_aim_performance = (5.0 * (aim_rating / 0.0675).max(1.0) - 4.0).powi(3) / 100_000.0;
|
||||
let base_speed_performance =
|
||||
(5.0 * (speed_rating / 0.0675).max(1.0) - 4.0).powi(3) / 100_000.0;
|
||||
|
||||
@@ -456,6 +456,10 @@ impl OsuPpInner {
|
||||
}
|
||||
|
||||
fn compute_aim_value(&self) -> f64 {
|
||||
if self.mods.ap() {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
let mut aim_value = (5.0 * (self.attrs.aim / 0.0675).max(1.0) - 4.0).powi(3) / 100_000.0;
|
||||
|
||||
let total_hits = self.total_hits();
|
||||
|
||||
Reference in New Issue
Block a user