mirror of
https://github.com/ppy/osu.git
synced 2025-02-07 17:13:24 +08:00
now standard hitwindows are 1 to 1 with stable 100%
This commit is contained in:
parent
133d45400b
commit
a5c9fb8b22
@ -87,7 +87,7 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
foreach (var range in GetRanges())
|
foreach (var range in GetRanges())
|
||||||
{
|
{
|
||||||
double value = IBeatmapDifficultyInfo.DifficultyRange(difficulty, (range.Min, range.Average, range.Max));
|
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)
|
switch (range.Result)
|
||||||
{
|
{
|
||||||
@ -129,7 +129,7 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
|
|
||||||
for (var result = HitResult.Perfect; result >= HitResult.Miss; --result)
|
for (var result = HitResult.Perfect; result >= HitResult.Miss; --result)
|
||||||
{
|
{
|
||||||
if (IsHitResultAllowed(result) && timeOffset <= WindowFor(result))
|
if (IsHitResultAllowed(result) && timeOffset < WindowFor(result))
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user