1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +08:00

Add TODO for variable clockrate support in catch difficulty calculator

This commit is contained in:
Samuel Cattini-Schultz 2021-06-03 15:44:28 +10:00
parent 323e4ac26b
commit 94701b77cb

View File

@ -39,6 +39,8 @@ namespace osu.Game.Rulesets.Catch.Difficulty.Skills
// In catch, rate adjustment mods do not only affect the timings of hitobjects,
// but also the speed of the player's catcher, which has an impact on difficulty
// TODO: Support variable clockrates caused by mods such as ModTimeRamp
// (perhaps by using IApplicableToRate within the CatchDifficultyHitObject constructor to set a catcher speed for each object before processing)
var rateAdjustMod = mods.FirstOrDefault(m => m is ModRateAdjust);
catcherSpeedMultiplier = (rateAdjustMod as ModRateAdjust)?.SpeedChange.Value ?? 1;
}