mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 18:12:56 +08:00
Make Accuracy = 1, Health = 1 the default for ScoreProcessor
This commit is contained in:
parent
d070fb8063
commit
0b94939474
@ -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)
|
protected override void OnNewJudgement(Judgement judgement)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -265,13 +265,8 @@ namespace osu.Game.Rulesets.Mania.Scoring
|
|||||||
TotalScore.Value = comboScore + accuracyScore + bonusScore;
|
TotalScore.Value = comboScore + accuracyScore + bonusScore;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Reset()
|
|
||||||
{
|
|
||||||
base.Reset();
|
base.Reset();
|
||||||
|
|
||||||
Health.Value = 1;
|
|
||||||
Accuracy.Value = 1;
|
|
||||||
|
|
||||||
bonusScore = 0;
|
bonusScore = 0;
|
||||||
comboPortion = 0;
|
comboPortion = 0;
|
||||||
totalHits = 0;
|
totalHits = 0;
|
||||||
|
@ -54,9 +54,6 @@ namespace osu.Game.Rulesets.Osu.Scoring
|
|||||||
{
|
{
|
||||||
base.Reset();
|
base.Reset();
|
||||||
|
|
||||||
Health.Value = 1;
|
|
||||||
Accuracy.Value = 1;
|
|
||||||
|
|
||||||
scoreResultCounts.Clear();
|
scoreResultCounts.Clear();
|
||||||
comboResultCounts.Clear();
|
comboResultCounts.Clear();
|
||||||
}
|
}
|
||||||
|
@ -242,7 +242,6 @@ namespace osu.Game.Rulesets.Taiko.Scoring
|
|||||||
base.Reset();
|
base.Reset();
|
||||||
|
|
||||||
Health.Value = 0;
|
Health.Value = 0;
|
||||||
Accuracy.Value = 1;
|
|
||||||
|
|
||||||
bonusScore = 0;
|
bonusScore = 0;
|
||||||
comboPortion = 0;
|
comboPortion = 0;
|
||||||
|
@ -33,7 +33,7 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The current accuracy.
|
/// The current accuracy.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public readonly BindableDouble Accuracy = new BindableDouble { MinValue = 0, MaxValue = 1 };
|
public readonly BindableDouble Accuracy = new BindableDouble(1) { MinValue = 0, MaxValue = 1 };
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The current health.
|
/// The current health.
|
||||||
@ -88,8 +88,8 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
protected virtual void Reset()
|
protected virtual void Reset()
|
||||||
{
|
{
|
||||||
TotalScore.Value = 0;
|
TotalScore.Value = 0;
|
||||||
Accuracy.Value = 0;
|
Accuracy.Value = 1;
|
||||||
Health.Value = 0;
|
Health.Value = 1;
|
||||||
Combo.Value = 0;
|
Combo.Value = 0;
|
||||||
HighestCombo.Value = 0;
|
HighestCombo.Value = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user