1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-24 08:47:24 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Judgements/OsuSpinnerTickJudgement.cs
2019-08-20 21:11:26 +03:00

19 lines
572 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.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;
}
}