mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Don't refer to BeatmapInfo
This commit is contained in:
parent
3a4807a032
commit
f0affa9f5a
@ -57,7 +57,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
||||
double starRating = basePerformance > 0.00001 ? Math.Cbrt(1.12) * 0.027 * (Math.Cbrt(100000 / Math.Pow(2, 1 / 1.1) * basePerformance) + 4) : 0;
|
||||
|
||||
double preempt = (int)IBeatmapDifficultyInfo.DifficultyRange(beatmap.Difficulty.ApproachRate, 1800, 1200, 450) / clockRate;
|
||||
double drainRate = beatmap.BeatmapInfo.BaseDifficulty.DrainRate;
|
||||
double drainRate = beatmap.Difficulty.DrainRate;
|
||||
|
||||
int maxCombo = beatmap.HitObjects.Count;
|
||||
// Add the ticks + tail of the slider. 1 is subtracted because the head circle would be counted twice (once for the slider itself in the line above)
|
||||
|
Loading…
Reference in New Issue
Block a user