2018-01-05 11:21:19 +00:00
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-04-21 08:33:20 +00:00
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
2018-03-14 03:07:03 +00:00
|
|
|
using osu.Game.Graphics;
|
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-21 09:06:24 +00:00
|
|
|
public abstract class ModPerfect : ModSuddenDeath
|
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";
|
2018-03-23 05:49:14 +00:00
|
|
|
public override FontAwesome Icon => FontAwesome.fa_osu_mod_perfect;
|
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
|
|
|
}
|