bye
This commit is contained in:
@@ -389,11 +389,6 @@ impl<'m> OsuPP<'m> {
|
|||||||
aim_value *= base_buff;
|
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
|
// Scale with accuracy
|
||||||
aim_value *= 0.3 + self.acc.unwrap() / 2.0;
|
aim_value *= 0.3 + self.acc.unwrap() / 2.0;
|
||||||
aim_value *= 0.98 + attributes.od as f32 * attributes.od as f32 / 2500.0;
|
aim_value *= 0.98 + attributes.od as f32 * attributes.od as f32 / 2500.0;
|
||||||
|
|||||||
@@ -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 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;
|
let mut scaling_factor = NORMALIZED_RADIUS / radius;
|
||||||
|
|
||||||
if radius < 30.05 {
|
if radius < 30.0 {
|
||||||
let small_circle_bonus = ((30.05 - radius) / 50.0).powf(1.1) * 1.45;
|
let small_circle_bonus = (30.0 - radius).min(5.0) / 50.0;
|
||||||
scaling_factor *= 1.0 + small_circle_bonus;
|
scaling_factor *= 1.0 + small_circle_bonus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user