mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Rearrange formula for maximum accuracy
Feels like it's easier to understand this way. The difference of the maximum scoring values for the entire beatmap and the max values for the part of the beatmap that has already been played represents the act of filling the rest of the unjudged objects with maximum results.
This commit is contained in:
parent
ae026e2d2d
commit
6ed474d4fb
@ -278,7 +278,7 @@ namespace osu.Game.Rulesets.Scoring
|
||||
Accuracy.Value = currentMaximumScoringValues.BaseScore > 0 ? (double)currentScoringValues.BaseScore / currentMaximumScoringValues.BaseScore : 1;
|
||||
MinimumAccuracy.Value = maximumScoringValues.BaseScore > 0 ? (double)currentScoringValues.BaseScore / maximumScoringValues.BaseScore : 0;
|
||||
MaximumAccuracy.Value = maximumScoringValues.BaseScore > 0
|
||||
? (double)(maximumScoringValues.BaseScore - (currentMaximumScoringValues.BaseScore - currentScoringValues.BaseScore)) / maximumScoringValues.BaseScore
|
||||
? (double)(currentScoringValues.BaseScore + (maximumScoringValues.BaseScore - currentMaximumScoringValues.BaseScore)) / maximumScoringValues.BaseScore
|
||||
: 1;
|
||||
TotalScore.Value = computeScore(Mode.Value, currentScoringValues, maximumScoringValues);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user