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

Add spinner tick judgement

This commit is contained in:
iiSaLMaN 2019-08-20 21:11:26 +03:00
parent 9ea4921e2b
commit ee1c3d42d8

View File

@ -0,0 +1,18 @@
// 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.Scoring;
namespace osu.Game.Rulesets.Osu.Judgements
{
public class OsuSpinnerTickJudgement : OsuJudgement
{
internal bool HasBonusPoints;
public override bool AffectsCombo => false;
protected override int NumericResultFor(HitResult result) => 100 + (HasBonusPoints ? 1000 : 0);
protected override double HealthIncreaseFor(HitResult result) => 0;
}
}