1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 05:02:53 +08:00
This commit is contained in:
Natelytle 2022-11-24 19:46:55 -05:00
parent 0e4e92b344
commit b579af674e

View File

@ -125,7 +125,8 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
var track = new TrackVirtual(10000);
score.Mods.OfType<IApplicableToTrack>().ForEach(m => m.ApplyToTrack(track));
double clockRate = track.Rate;
double overallDifficulty = (50 - attributes.GreatHitWindow) / 3 * clockRate;
double overallDifficulty = (50 - attributes.GreatHitWindow * clockRate) / 3;
double goodHitWindow = 0;
if (overallDifficulty <= 5)
goodHitWindow = (120 - 8 * overallDifficulty) / clockRate;