mirror of
https://github.com/ppy/osu.git
synced 2024-11-17 00:33:21 +08:00
1b004dbebc
Allows the Relax mod to fail, and remove NF/PF/SD mod exclusion ref: https://github.com/ppy/osu/discussions/13229
20 lines
672 B
C#
20 lines
672 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 System;
|
|
using osu.Framework.Graphics.Sprites;
|
|
using osu.Game.Graphics;
|
|
|
|
namespace osu.Game.Rulesets.Mods
|
|
{
|
|
public abstract class ModRelax : Mod
|
|
{
|
|
public override string Name => "Relax";
|
|
public override string Acronym => "RX";
|
|
public override IconUsage? Icon => OsuIcon.ModRelax;
|
|
public override ModType Type => ModType.Automation;
|
|
public override double ScoreMultiplier => 0.1;
|
|
public override Type[] IncompatibleMods => new[] { typeof(ModAutoplay) };
|
|
}
|
|
}
|