This commit is contained in:
tsunyoku
2024-10-14 14:59:44 +01:00
parent 6aa81ef4c3
commit 98e18c1ec0
2 changed files with 2 additions and 7 deletions
-5
View File
@@ -389,11 +389,6 @@ impl<'m> OsuPP<'m> {
aim_value *= base_buff;
}
// Precision buff (reading)
if attributes.cs > 5.58 {
aim_value *= ((attributes.cs as f32 - 5.46).powf(1.8) + 1.0).powf(0.03);
}
// Scale with accuracy
aim_value *= 0.3 + self.acc.unwrap() / 2.0;
aim_value *= 0.98 + attributes.od as f32 * attributes.od as f32 / 2500.0;
+2 -2
View File
@@ -40,8 +40,8 @@ pub fn stars(map: &Beatmap, mods: GameMods) -> OsuDifficultyAttributes {
let radius = OBJECT_RADIUS * (1.0 - 0.7 * (map_attributes.cs as f32 - 5.0) / 5.0) / 2.0;
let mut scaling_factor = NORMALIZED_RADIUS / radius;
if radius < 30.05 {
let small_circle_bonus = ((30.05 - radius) / 50.0).powf(1.1) * 1.45;
if radius < 30.0 {
let small_circle_bonus = (30.0 - radius).min(5.0) / 50.0;
scaling_factor *= 1.0 + small_circle_bonus;
}