mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Change all performance calculators to use int hitwindows
Has a pretty large (>6) effect on pp for some maps.
This commit is contained in:
@ -61,6 +61,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
||||
if (mods.Any(m => !m.Ranked))
|
||||
return 0;
|
||||
|
||||
// Todo: These int casts are temporary to achieve 1:1 results with osu!stable, and should be remoevd in the future
|
||||
double hitWindowGreat = Beatmap.HitObjects.First().HitWindows.Great / 2 / TimeRate;
|
||||
double preEmpt = (int)BeatmapDifficulty.DifficultyRange(Beatmap.BeatmapInfo.BaseDifficulty.ApproachRate, 1800, 1200, 450) / TimeRate;
|
||||
|
||||
|
Reference in New Issue
Block a user