1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 13:33:52 +08:00

display tooltip accuracy as percentage

This commit is contained in:
Gabe Livengood 2022-06-08 23:44:34 -04:00
parent a805f78909
commit fdbec4f8c0
No known key found for this signature in database
GPG Key ID: 70321B78DAECE683

View File

@ -23,6 +23,7 @@ namespace osu.Game.Rulesets.Mods
public override double ScoreMultiplier => 1.0;
public override Type[] IncompatibleMods => base.IncompatibleMods.Concat(new[] { typeof(ModEasyWithExtraLives), typeof(ModPerfect) }).ToArray();
public override bool RequiresConfiguration => false;
public override string SettingDescription => base.SettingDescription.Replace(MinimumAccuracy.Value.ToString(), MinimumAccuracy.Value.ToString("##%"));
[SettingSource("Minimum accuracy", "Trigger a failure if your accuracy goes below this value.", SettingControlType = typeof(SettingsSlider<double, PercentSlider>))]
public BindableNumber<double> MinimumAccuracy { get; } = new BindableDouble