mirror of
https://github.com/ppy/osu.git
synced 2024-12-18 04:55:36 +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
|
#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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user