1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-08 03:27:18 +08:00

18 lines
621 B
C#
Raw Normal View History

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