mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Fixing minor bugs
This commit is contained in:
Submodule osu-framework updated: 80e78fd45b...fac688633b
@ -34,7 +34,7 @@ namespace osu.Game.Rulesets.Catch.Difficulty
|
|||||||
difficultyHitObjects.Clear();
|
difficultyHitObjects.Clear();
|
||||||
|
|
||||||
float circleSize = Beatmap.BeatmapInfo.BaseDifficulty.CircleSize;
|
float circleSize = Beatmap.BeatmapInfo.BaseDifficulty.CircleSize;
|
||||||
float catcherWidth = ((1.0f - 0.7f * (circleSize - 5) / 5) * 0.62064f) * CatcherArea.CATCHER_SIZE;
|
float catcherWidth = (1.0f - 0.7f * (circleSize - 5) / 5) * 0.62064f * CatcherArea.CATCHER_SIZE;
|
||||||
float catcherWidthHalf = catcherWidth / 2;
|
float catcherWidthHalf = catcherWidth / 2;
|
||||||
catcherWidthHalf *= 0.8f;
|
catcherWidthHalf *= 0.8f;
|
||||||
|
|
||||||
@ -72,7 +72,7 @@ namespace osu.Game.Rulesets.Catch.Difficulty
|
|||||||
double ar = Beatmap.BeatmapInfo.BaseDifficulty.ApproachRate;
|
double ar = Beatmap.BeatmapInfo.BaseDifficulty.ApproachRate;
|
||||||
double preEmpt = BeatmapDifficulty.DifficultyRange(ar, 1800, 1200, 450) / TimeRate;
|
double preEmpt = BeatmapDifficulty.DifficultyRange(ar, 1800, 1200, 450) / TimeRate;
|
||||||
|
|
||||||
categoryDifficulty["AR"] = (preEmpt > 1200.0) ? -(preEmpt - 1800.0) / 120.0 : (-(preEmpt - 1200.0) / 150.0) + 5.0;
|
categoryDifficulty["AR"] = preEmpt > 1200.0 ? -(preEmpt - 1800.0) / 120.0 : -(preEmpt - 1200.0) / 150.0 + 5.0;
|
||||||
categoryDifficulty["Max combo"] = difficultyHitObjects.Count;
|
categoryDifficulty["Max combo"] = difficultyHitObjects.Count;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -92,8 +92,7 @@ namespace osu.Game.Rulesets.Catch.Difficulty
|
|||||||
while (hitObjectsEnumerator.MoveNext())
|
while (hitObjectsEnumerator.MoveNext())
|
||||||
{
|
{
|
||||||
CatchDifficultyHitObject nextHitObject = hitObjectsEnumerator.Current;
|
CatchDifficultyHitObject nextHitObject = hitObjectsEnumerator.Current;
|
||||||
if (nextHitObject != null)
|
nextHitObject?.CalculateStrains(currentHitObject, TimeRate);
|
||||||
nextHitObject.CalculateStrains(currentHitObject, TimeRate);
|
|
||||||
currentHitObject = nextHitObject;
|
currentHitObject = nextHitObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user