1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 08:33:21 +08:00

Fixes on categoryDifficulty

This commit is contained in:
frankhjwx 2018-05-21 09:55:07 +08:00
parent 6bf5ea73d5
commit 0ef718a09e

View File

@ -72,9 +72,7 @@ namespace osu.Game.Rulesets.Catch.Difficulty
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.Add("AR", (preEmpt > 1200.0 ? -(preEmpt - 1800.0) / 120.0 : -(preEmpt - 1200.0) / 150.0 + 5.0).ToString("0.00", GameBase.nfi));
//categoryDifficulty.Add("Max combo", DifficultyHitObjects.Count.ToString(GameBase.nfi));
categoryDifficulty["Max combo"] = difficultyHitObjects.Count;
}
return starRating;