mirror of
https://github.com/ppy/osu.git
synced 2026-05-19 04:32:11 +08:00
22 lines
748 B
C#
22 lines
748 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.Game.Rulesets.Mods;
|
|
|
|
namespace osu.Game.Rulesets.Mania.Mods
|
|
{
|
|
public class ManiaModDifficultyAdjust : ModDifficultyAdjust
|
|
{
|
|
public override DifficultyBindable OverallDifficulty { get; } = new DifficultyBindable
|
|
{
|
|
Precision = 0.1f,
|
|
MinValue = 0,
|
|
MaxValue = 10,
|
|
// Use larger extended limits for mania to include OD values that occur with EZ or HR enabled
|
|
ExtendedMaxValue = 15,
|
|
ExtendedMinValue = -15,
|
|
ReadCurrentFromDifficulty = diff => diff.OverallDifficulty,
|
|
};
|
|
}
|
|
}
|