ok so in short i am stupid
This commit is contained in:
@@ -144,7 +144,6 @@ impl<'map> OsuStars<'map> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if mods.rx() {
|
if mods.rx() {
|
||||||
aim_rating *= 0.9;
|
|
||||||
speed_rating = 0.0;
|
speed_rating = 0.0;
|
||||||
flashlight_rating *= 0.7;
|
flashlight_rating *= 0.7;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -209,8 +209,7 @@ impl RhythmEvaluator {
|
|||||||
fn evaluate_diff_of(
|
fn evaluate_diff_of(
|
||||||
curr: &OsuDifficultyObject<'_>,
|
curr: &OsuDifficultyObject<'_>,
|
||||||
diff_objects: &[OsuDifficultyObject<'_>],
|
diff_objects: &[OsuDifficultyObject<'_>],
|
||||||
hit_window: f64,
|
hit_window: f64
|
||||||
mods: u32
|
|
||||||
) -> f64 {
|
) -> f64 {
|
||||||
if curr.base.is_spinner() {
|
if curr.base.is_spinner() {
|
||||||
return 0.0;
|
return 0.0;
|
||||||
@@ -340,12 +339,6 @@ impl RhythmEvaluator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// * produces multiplier that can be applied to strain. range [1, infinity) (not really though)
|
// * 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;
|
(4.0 + rhythm_complexity_sum * Self::RHYTHM_MULTIPLIER).sqrt() / 2.0
|
||||||
|
|
||||||
if mods.rx() {
|
|
||||||
diff *= 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user