mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Rework ScoreProcessor
This commit is contained in:
@ -223,7 +223,7 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
|
|
||||||
case ScoringMode.Classic:
|
case ScoringMode.Classic:
|
||||||
// should emulate osu-stable's scoring as closely as we can (https://osu.ppy.sh/help/wiki/Score/ScoreV1)
|
// should emulate osu-stable's scoring as closely as we can (https://osu.ppy.sh/help/wiki/Score/ScoreV1)
|
||||||
return getBonusScore(statistics) + (accuracyRatio * maxCombo * 300) * (1 + Math.Max(0, (comboRatio * maxCombo) - 1) * scoreMultiplier / 25);
|
return getBonusScore(statistics) + (accuracyRatio * Math.Max(1, maxCombo) * 300) * (1 + Math.Max(0, (comboRatio * maxCombo) - 1) * scoreMultiplier / 25);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -267,12 +267,6 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
{
|
{
|
||||||
maxHighestCombo = HighestCombo.Value;
|
maxHighestCombo = HighestCombo.Value;
|
||||||
maxBaseScore = baseScore;
|
maxBaseScore = baseScore;
|
||||||
|
|
||||||
if (maxBaseScore == 0 || maxHighestCombo == 0)
|
|
||||||
{
|
|
||||||
Mode.Value = ScoringMode.Classic;
|
|
||||||
Mode.Disabled = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
baseScore = 0;
|
baseScore = 0;
|
||||||
|
Reference in New Issue
Block a user