1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-07 13:07:25 +08:00

review pass eins

This commit is contained in:
Gabe Livengood 2022-05-24 20:04:57 -04:00
parent 252bacc8d4
commit 5944a15c30
2 changed files with 4 additions and 3 deletions

View File

@ -21,12 +21,13 @@ namespace osu.Game.Rulesets.Mods
public override IconUsage? Icon => FontAwesome.Solid.Calculator; public override IconUsage? Icon => FontAwesome.Solid.Calculator;
public override ModType Type => ModType.DifficultyIncrease; public override ModType Type => ModType.DifficultyIncrease;
public override double ScoreMultiplier => 1.0; public override double ScoreMultiplier => 1.0;
public override Type[] IncompatibleMods => base.IncompatibleMods.Append(typeof(ModEasyWithExtraLives)).Append(typeof(ModPerfect)).ToArray(); public override Type[] IncompatibleMods => base.IncompatibleMods.Concat(new[] { typeof(ModEasyWithExtraLives), typeof(ModPerfect) }).ToArray();
public override bool RequiresConfiguration => false;
[SettingSource("Minimum accuracy", "Trigger a failure if your accuracy goes below this value.", SettingControlType = typeof(SettingsSlider<double, PercentSlider>))] [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 public BindableNumber<double> MinimumAccuracy { get; } = new BindableDouble
{ {
MinValue = 0, MinValue = 0.01,
MaxValue = 1, MaxValue = 1,
Precision = 0.01, Precision = 0.01,
Default = 0.9, Default = 0.9,

View File

@ -19,7 +19,7 @@ namespace osu.Game.Rulesets.Mods
public override double ScoreMultiplier => 1; public override double ScoreMultiplier => 1;
public override string Description => "SS or quit."; public override string Description => "SS or quit.";
public override Type[] IncompatibleMods => base.IncompatibleMods.Append(typeof(ModSuddenDeath)).Append(typeof(ModAccuracyChallenge)).ToArray(); public override Type[] IncompatibleMods => base.IncompatibleMods.Concat(new[] { typeof(ModSuddenDeath), typeof(ModAccuracyChallenge) }).ToArray();
protected ModPerfect() protected ModPerfect()
{ {