1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 00:02:54 +08:00

Make Accuracy = 1, Health = 1 the default for ScoreProcessor

This commit is contained in:
smoogipooo 2017-09-12 20:53:26 +09:00
parent d070fb8063
commit 0b94939474
5 changed files with 3 additions and 20 deletions

View File

@ -19,14 +19,6 @@ namespace osu.Game.Rulesets.Catch.Scoring
{
}
protected override void Reset()
{
base.Reset();
Health.Value = 1;
Accuracy.Value = 1;
}
protected override void OnNewJudgement(Judgement judgement)
{
}

View File

@ -265,13 +265,8 @@ namespace osu.Game.Rulesets.Mania.Scoring
TotalScore.Value = comboScore + accuracyScore + bonusScore;
}
protected override void Reset()
{
base.Reset();
Health.Value = 1;
Accuracy.Value = 1;
bonusScore = 0;
comboPortion = 0;
totalHits = 0;

View File

@ -54,9 +54,6 @@ namespace osu.Game.Rulesets.Osu.Scoring
{
base.Reset();
Health.Value = 1;
Accuracy.Value = 1;
scoreResultCounts.Clear();
comboResultCounts.Clear();
}

View File

@ -242,7 +242,6 @@ namespace osu.Game.Rulesets.Taiko.Scoring
base.Reset();
Health.Value = 0;
Accuracy.Value = 1;
bonusScore = 0;
comboPortion = 0;

View File

@ -33,7 +33,7 @@ namespace osu.Game.Rulesets.Scoring
/// <summary>
/// The current accuracy.
/// </summary>
public readonly BindableDouble Accuracy = new BindableDouble { MinValue = 0, MaxValue = 1 };
public readonly BindableDouble Accuracy = new BindableDouble(1) { MinValue = 0, MaxValue = 1 };
/// <summary>
/// The current health.
@ -88,8 +88,8 @@ namespace osu.Game.Rulesets.Scoring
protected virtual void Reset()
{
TotalScore.Value = 0;
Accuracy.Value = 0;
Health.Value = 0;
Accuracy.Value = 1;
Health.Value = 1;
Combo.Value = 0;
HighestCombo.Value = 0;