mirror of
https://github.com/osukey/osukey.git
synced 2025-05-16 11:07:35 +09:00
33 lines
994 B
C#
33 lines
994 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using osu.Framework.Bindables;
|
|
using osu.Game.Configuration;
|
|
using osu.Game.Rulesets.Mods;
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Mods
|
|
{
|
|
public class TaikoModDifficultyAdjust : ModDifficultyAdjust
|
|
{
|
|
[SettingSource("Drain Rate", "Override the beatmap's set HP")]
|
|
public override BindableNumber<float> DrainRate { get; } = new BindableFloat
|
|
{
|
|
MinValue = 1,
|
|
MaxValue = 10,
|
|
Default = 5,
|
|
Value = 5,
|
|
Precision = 0.1F,
|
|
};
|
|
|
|
[SettingSource("Overall Difficulty", "Override the beatmap's set OD")]
|
|
public override BindableNumber<float> OverallDifficulty { get; } = new BindableFloat
|
|
{
|
|
MinValue = 1,
|
|
MaxValue = 10,
|
|
Default = 5,
|
|
Value = 5,
|
|
Precision = 0.1F,
|
|
};
|
|
}
|
|
}
|