VERY EXPERIMENTAL

This commit is contained in:
tsunyoku
2024-07-13 16:48:55 +01:00
parent 40c711e99a
commit 33d3f55db4
2 changed files with 3 additions and 15 deletions
+2 -14
View File
@@ -253,28 +253,16 @@ impl<'m> OsuPP<'m> {
}
let aim_value = self.compute_aim_value(total_hits, effective_miss_count);
let mut speed_value = self.compute_speed_value(total_hits, effective_miss_count);
let speed_value = self.compute_speed_value(total_hits, effective_miss_count);
let acc_value = self.compute_accuracy_value(total_hits);
let mut acc_depression = 1.0;
let difficulty = self.attributes.as_ref().unwrap();
let streams_nerf =
((difficulty.aim_strain / difficulty.speed_strain) * 100.0).round() / 100.0;
if streams_nerf < 1.09 {
let acc_factor = (1.0 - self.acc.unwrap()).abs();
acc_depression = (0.1 - acc_factor).max(0.01);
speed_value *= acc_depression;
}
let nodt_bonus = match !self.mods.change_speed() {
true => 1.02,
false => 1.0,
};
let mut pp = (aim_value.powf(1.185 * nodt_bonus)
+ speed_value.powf(0.83 * acc_depression)
+ speed_value.powf(0.83)
+ acc_value.powf(1.14 * nodt_bonus))
.powf(1.0 / 1.1)
* multiplier;
+1 -1
View File
@@ -98,7 +98,7 @@ impl SkillKind {
(1.0 + (speed_bonus - 1.0) * 0.75)
* angle_bonus
* (0.95 + speed_bonus * (dist / SINGLE_SPACING_TRESHOLD).powf(3.5))
* (0.7 + speed_bonus * (dist / SINGLE_SPACING_TRESHOLD).powf(3.5))
/ current.strain_time
}
}