mirror of
https://github.com/ppy/osu.git
synced 2025-03-06 16:37:24 +08:00
Add spinner tick judgement
This commit is contained in:
parent
9ea4921e2b
commit
ee1c3d42d8
18
osu.Game.Rulesets.Osu/Judgements/OsuSpinnerTickJudgement.cs
Normal file
18
osu.Game.Rulesets.Osu/Judgements/OsuSpinnerTickJudgement.cs
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user