1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-17 19:02:56 +08:00

Select multiplier per mode

This commit is contained in:
sw1tchbl4d3 2022-10-12 11:22:54 +02:00
parent df0501235d
commit 2579ed46ce

View File

@ -162,7 +162,14 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
#pragma warning disable 618 #pragma warning disable 618
if (difficultyPoint is LegacyBeatmapDecoder.LegacyDifficultyControlPoint legacyDifficultyPoint) if (difficultyPoint is LegacyBeatmapDecoder.LegacyDifficultyControlPoint legacyDifficultyPoint)
#pragma warning restore 618 #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 else
beatLength = timingPoint.BeatLength / difficultyPoint.SliderVelocity; beatLength = timingPoint.BeatLength / difficultyPoint.SliderVelocity;