mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:17:23 +08:00
Change default IsBonus definition and remove unnecessary overrides
This commit is contained in:
parent
cacabeb67e
commit
c0b65a6a73
@ -8,7 +8,6 @@ namespace osu.Game.Rulesets.Catch.Judgements
|
||||
public class CatchBananaJudgement : CatchJudgement
|
||||
{
|
||||
public override bool AffectsCombo => false;
|
||||
public override bool IsBonus => true;
|
||||
|
||||
public override bool ShouldExplode => true;
|
||||
|
||||
|
@ -8,7 +8,6 @@ namespace osu.Game.Rulesets.Mania.Judgements
|
||||
public class HoldNoteJudgement : ManiaJudgement
|
||||
{
|
||||
public override bool AffectsCombo => false;
|
||||
public override bool IsBonus => true;
|
||||
|
||||
protected override int NumericResultFor(HitResult result) => 0;
|
||||
}
|
||||
|
@ -8,7 +8,6 @@ namespace osu.Game.Rulesets.Mania.Judgements
|
||||
public class HoldNoteTickJudgement : ManiaJudgement
|
||||
{
|
||||
public override bool AffectsCombo => false;
|
||||
public override bool IsBonus => true;
|
||||
|
||||
protected override int NumericResultFor(HitResult result) => 20;
|
||||
}
|
||||
|
@ -8,7 +8,6 @@ namespace osu.Game.Rulesets.Osu.Judgements
|
||||
public class OsuSliderTailJudgement : OsuJudgement
|
||||
{
|
||||
public override bool AffectsCombo => false;
|
||||
public override bool IsBonus => true;
|
||||
|
||||
protected override int NumericResultFor(HitResult result) => 0;
|
||||
}
|
||||
|
@ -8,7 +8,6 @@ namespace osu.Game.Rulesets.Taiko.Judgements
|
||||
public class TaikoDrumRollTickJudgement : TaikoJudgement
|
||||
{
|
||||
public override bool AffectsCombo => false;
|
||||
public override bool IsBonus => true;
|
||||
|
||||
protected override int NumericResultFor(HitResult result)
|
||||
{
|
||||
|
@ -6,7 +6,6 @@ namespace osu.Game.Rulesets.Taiko.Judgements
|
||||
public class TaikoStrongHitJudgement : TaikoJudgement
|
||||
{
|
||||
public override bool AffectsCombo => false;
|
||||
public override bool IsBonus => true;
|
||||
|
||||
public TaikoStrongHitJudgement()
|
||||
{
|
||||
|
@ -52,7 +52,7 @@ namespace osu.Game.Rulesets.Judgements
|
||||
/// <summary>
|
||||
/// Whether the <see cref="Result"/> should be counted as base or bonus score.
|
||||
/// </summary>
|
||||
public virtual bool IsBonus => false;
|
||||
public virtual bool IsBonus => !AffectsCombo;
|
||||
|
||||
/// <summary>
|
||||
/// The numeric representation for the result achieved.
|
||||
|
Loading…
Reference in New Issue
Block a user