2019-01-24 16:43:03 +08:00
|
|
|
|
// 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.
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2020-03-02 12:25:56 +08:00
|
|
|
|
using osu.Game.Rulesets.Catch.Judgements;
|
|
|
|
|
using osu.Game.Rulesets.Judgements;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
using osu.Game.Rulesets.Mods;
|
2020-03-02 12:25:56 +08:00
|
|
|
|
using osu.Game.Rulesets.Scoring;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Catch.Mods
|
|
|
|
|
{
|
|
|
|
|
public class CatchModPerfect : ModPerfect
|
|
|
|
|
{
|
2020-03-02 12:25:56 +08:00
|
|
|
|
protected override bool FailCondition(HealthProcessor healthProcessor, JudgementResult result)
|
|
|
|
|
=> !(result.Judgement is CatchBananaJudgement)
|
|
|
|
|
&& base.FailCondition(healthProcessor, result);
|
2018-04-13 17:19:50 +08:00
|
|
|
|
}
|
|
|
|
|
}
|