1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-18 06:27:18 +08:00

Adjust velocity calculation.

This commit is contained in:
Dean Herbert 2016-11-28 16:31:31 +09:00
parent b1f141e1a0
commit 2616d05767

View File

@ -11,7 +11,7 @@ namespace osu.Game.Modes.Osu.Objects
{
public override double EndTime => StartTime + (RepeatCount + 1) * Curve.Length / VelocityAt(StartTime);
public double VelocityAt(double time) => 10000 / Beatmap.BeatLengthAt(time, true) * Beatmap.BeatmapInfo.BaseDifficulty.SliderMultiplier;
public double VelocityAt(double time) => 100 / Beatmap.BeatLengthAt(time, true) * Beatmap.BeatmapInfo.BaseDifficulty.SliderMultiplier;
public int RepeatCount;