Simplify ordering by using only numbers, add xmldoc

This commit is contained in:
voidedWarranties
2020-02-10 16:21:49 -08:00
parent ea521b466f
commit ca237fd987
4 changed files with 14 additions and 26 deletions

View File

@ -7,7 +7,6 @@ using osu.Framework.Graphics.Sprites;
using System;
using System.Collections.Generic;
using osu.Game.Configuration;
using static osu.Game.Configuration.SettingSourceAttribute;
namespace osu.Game.Rulesets.Mods
{
@ -29,7 +28,7 @@ namespace osu.Game.Rulesets.Mods
public override Type[] IncompatibleMods => new[] { typeof(ModEasy), typeof(ModHardRock) };
[SettingSource("HP Drain", "Override a beatmap's set HP.", OrderMode.ORDERED_RELATIVE, 1)]
[SettingSource("HP Drain", "Override a beatmap's set HP.", 1)]
public BindableNumber<float> DrainRate { get; } = new BindableFloat
{
Precision = 0.1f,
@ -39,7 +38,7 @@ namespace osu.Game.Rulesets.Mods
Value = 5,
};
[SettingSource("Accuracy", "Override a beatmap's set OD.", OrderMode.ORDERED_RELATIVE, 1)]
[SettingSource("Accuracy", "Override a beatmap's set OD.", 2)]
public BindableNumber<float> OverallDifficulty { get; } = new BindableFloat
{
Precision = 0.1f,