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