mirror of
https://github.com/ppy/osu
synced 2024-12-13 10:28:17 +00:00
18 lines
621 B
C#
18 lines
621 B
C#
// 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.
|
|
|
|
using osu.Game.Rulesets.Catch.Judgements;
|
|
using osu.Game.Rulesets.Judgements;
|
|
using osu.Game.Rulesets.Mods;
|
|
using osu.Game.Rulesets.Scoring;
|
|
|
|
namespace osu.Game.Rulesets.Catch.Mods
|
|
{
|
|
public class CatchModPerfect : ModPerfect
|
|
{
|
|
protected override bool FailCondition(HealthProcessor healthProcessor, JudgementResult result)
|
|
=> !(result.Judgement is CatchBananaJudgement)
|
|
&& base.FailCondition(healthProcessor, result);
|
|
}
|
|
}
|