Avoid the need for per-settings control classes

This commit is contained in:
Dean Herbert
2021-07-08 16:56:16 +09:00
parent a6e94dd491
commit bd7c334588
7 changed files with 17 additions and 18 deletions

View File

@ -39,6 +39,7 @@ namespace osu.Game.Rulesets.Mods
MinValue = 0,
MaxValue = 10,
ExtendedMaxValue = 11,
ReadFromDifficulty = diff => diff.DrainRate,
};
[SettingSource("Accuracy", "Override a beatmap's set OD.", LAST_SETTING_ORDER, SettingControlType = typeof(DifficultyAdjustSettingsControl))]
@ -48,6 +49,7 @@ namespace osu.Game.Rulesets.Mods
MinValue = 0,
MaxValue = 10,
ExtendedMaxValue = 11,
ReadFromDifficulty = diff => diff.OverallDifficulty,
};
[SettingSource("Extended Limits", "Adjust difficulty beyond sane limits.")]