mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:15:45 +08:00
Add comment about stable calculation
This commit is contained in:
parent
08f3481b59
commit
ac4290dfb6
@ -57,8 +57,9 @@ namespace osu.Game.Rulesets.Mania.Beatmaps.Patterns.Legacy
|
||||
beatLength = timingPoint.BeatLength / difficultyPoint.SpeedMultiplier;
|
||||
|
||||
SpanCount = repeatsData?.SpanCount() ?? 1;
|
||||
|
||||
StartTime = (int)Math.Round(hitObject.StartTime);
|
||||
|
||||
// This matches stable's calculation.
|
||||
EndTime = (int)Math.Floor(StartTime + distanceData.Distance * beatLength * SpanCount * 0.01 / beatmap.BeatmapInfo.BaseDifficulty.SliderMultiplier);
|
||||
|
||||
SegmentDuration = (EndTime - StartTime) / SpanCount;
|
||||
|
Loading…
Reference in New Issue
Block a user