1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 09:23:06 +08:00

Add AffectsAccuracy to Judgement

This commit is contained in:
smoogipooo 2017-09-12 19:39:22 +09:00
parent f4a2ffbeea
commit 3af8345068
4 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,7 @@ namespace osu.Game.Rulesets.Mania.Judgements
public class HoldNoteTickJudgement : ManiaJudgement
{
public override bool AffectsCombo => false;
public override bool AffectsAccuracy => false;
protected override int NumericResultFor(HitResult result) => 20;
protected override int NumericResultForAccuracy(HitResult result) => 0; // Don't count ticks into accuracy

View File

@ -8,6 +8,7 @@ namespace osu.Game.Rulesets.Taiko.Judgements
public class TaikoDrumRollTickJudgement : TaikoJudgement
{
public override bool AffectsCombo => false;
public override bool AffectsAccuracy => false;
protected override int NumericResultFor(HitResult result)
{

View File

@ -7,6 +7,9 @@ namespace osu.Game.Rulesets.Taiko.Judgements
{
public class TaikoStrongHitJudgement : TaikoJudgement
{
public override bool AffectsCombo => false;
public override bool AffectsAccuracy => false;
public TaikoStrongHitJudgement()
{
base.Result = HitResult.Perfect;

View File

@ -25,6 +25,8 @@ namespace osu.Game.Rulesets.Judgements
/// </summary>
public double TimeOffset { get; internal set; }
public virtual bool AffectsAccuracy => true;
public virtual bool AffectsCombo => true;
/// <summary>