2018-01-05 19:21:19 +08:00
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-04-21 16:33:20 +08:00
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
2017-11-20 15:15:29 +08:00
|
|
|
using osu.Game.Rulesets.Scoring;
|
|
|
|
|
2017-04-21 16:33:20 +08:00
|
|
|
namespace osu.Game.Rulesets.Mods
|
|
|
|
{
|
2017-11-21 17:06:24 +08:00
|
|
|
public abstract class ModPerfect : ModSuddenDeath
|
2017-04-21 16:33:20 +08:00
|
|
|
{
|
|
|
|
public override string Name => "Perfect";
|
2017-08-13 23:41:13 +08:00
|
|
|
public override string ShortenedName => "PF";
|
2017-04-21 16:33:20 +08:00
|
|
|
public override string Description => "SS or quit.";
|
2017-11-20 15:15:29 +08:00
|
|
|
|
2017-11-21 16:09:22 +08:00
|
|
|
protected override bool FailCondition(ScoreProcessor scoreProcessor) => scoreProcessor.Accuracy.Value != 1;
|
2017-04-21 16:33:20 +08:00
|
|
|
}
|
2017-11-20 15:15:29 +08:00
|
|
|
}
|