mirror of
https://github.com/ppy/osu.git
synced 2024-12-17 04:32:53 +08:00
Select multiplier per mode
This commit is contained in:
parent
df0501235d
commit
2579ed46ce
@ -162,7 +162,14 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
|
||||
#pragma warning disable 618
|
||||
if (difficultyPoint is LegacyBeatmapDecoder.LegacyDifficultyControlPoint legacyDifficultyPoint)
|
||||
#pragma warning restore 618
|
||||
beatLength = timingPoint.BeatLength * legacyDifficultyPoint.BpmMultiplier;
|
||||
{
|
||||
double bpmMultiplier;
|
||||
if (beatmap.BeatmapInfo.OnlineID == 1 || beatmap.BeatmapInfo.OnlineID == 3)
|
||||
bpmMultiplier = legacyDifficultyPoint.BpmMultiplierMania;
|
||||
else
|
||||
bpmMultiplier = legacyDifficultyPoint.BpmMultiplier;
|
||||
beatLength = timingPoint.BeatLength * bpmMultiplier;
|
||||
}
|
||||
else
|
||||
beatLength = timingPoint.BeatLength / difficultyPoint.SliderVelocity;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user