ok so in short i am stupid

This commit is contained in:
tsunyoku
2023-07-27 22:09:11 +01:00
parent 5f8dd08628
commit 99021ce1f6
2 changed files with 2 additions and 10 deletions
-1
View File
@@ -144,7 +144,6 @@ impl<'map> OsuStars<'map> {
}
if mods.rx() {
aim_rating *= 0.9;
speed_rating = 0.0;
flashlight_rating *= 0.7;
}
+2 -9
View File
@@ -209,8 +209,7 @@ impl RhythmEvaluator {
fn evaluate_diff_of(
curr: &OsuDifficultyObject<'_>,
diff_objects: &[OsuDifficultyObject<'_>],
hit_window: f64,
mods: u32
hit_window: f64
) -> f64 {
if curr.base.is_spinner() {
return 0.0;
@@ -340,12 +339,6 @@ impl RhythmEvaluator {
}
// * produces multiplier that can be applied to strain. range [1, infinity) (not really though)
let mut diff = (4.0 + rhythm_complexity_sum * Self::RHYTHM_MULTIPLIER).sqrt() / 2.0;
if mods.rx() {
diff *= 0.5;
}
diff
(4.0 + rhythm_complexity_sum * Self::RHYTHM_MULTIPLIER).sqrt() / 2.0
}
}