From a5c9fb8b22c08b89841e83e4493b3b2d72137545 Mon Sep 17 00:00:00 2001 From: Givikap120 Date: Sun, 13 Oct 2024 13:07:39 +0300 Subject: [PATCH] now standard hitwindows are 1 to 1 with stable 100% --- osu.Game/Rulesets/Scoring/HitWindows.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Rulesets/Scoring/HitWindows.cs b/osu.Game/Rulesets/Scoring/HitWindows.cs index e0e02d911e..7f1d9c8dff 100644 --- a/osu.Game/Rulesets/Scoring/HitWindows.cs +++ b/osu.Game/Rulesets/Scoring/HitWindows.cs @@ -87,7 +87,7 @@ namespace osu.Game.Rulesets.Scoring foreach (var range in GetRanges()) { double value = IBeatmapDifficultyInfo.DifficultyRange(difficulty, (range.Min, range.Average, range.Max)); - value = Math.Round(value) - 0.5; + value = Math.Floor(value) - 0.5; switch (range.Result) { @@ -129,7 +129,7 @@ namespace osu.Game.Rulesets.Scoring for (var result = HitResult.Perfect; result >= HitResult.Miss; --result) { - if (IsHitResultAllowed(result) && timeOffset <= WindowFor(result)) + if (IsHitResultAllowed(result) && timeOffset < WindowFor(result)) return result; }