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

Fix a few missed judgements

This commit is contained in:
smoogipoo 2020-09-29 15:20:47 +09:00
parent 6264a01ecc
commit a1394c1830
3 changed files with 2 additions and 24 deletions

View File

@ -9,23 +9,5 @@ namespace osu.Game.Rulesets.Osu.Judgements
public class OsuJudgement : Judgement public class OsuJudgement : Judgement
{ {
public override HitResult MaxResult => HitResult.Great; public override HitResult MaxResult => HitResult.Great;
protected override int NumericResultFor(HitResult result)
{
switch (result)
{
default:
return 0;
case HitResult.Meh:
return 50;
case HitResult.Good:
return 100;
case HitResult.Great:
return 300;
}
}
} }
} }

View File

@ -7,10 +7,6 @@ namespace osu.Game.Rulesets.Judgements
{ {
public class IgnoreJudgement : Judgement public class IgnoreJudgement : Judgement
{ {
public override bool AffectsCombo => false; public override HitResult MaxResult => HitResult.IgnoreHit;
protected override int NumericResultFor(HitResult result) => 0;
protected override double HealthIncreaseFor(HitResult result) => 0;
} }
} }

View File

@ -64,7 +64,7 @@ namespace osu.Game.Rulesets.Judgements
/// <summary> /// <summary>
/// Whether a successful hit occurred. /// Whether a successful hit occurred.
/// </summary> /// </summary>
public bool IsHit => Type > HitResult.Miss; public bool IsHit => Type.IsHit();
/// <summary> /// <summary>
/// Creates a new <see cref="JudgementResult"/>. /// Creates a new <see cref="JudgementResult"/>.