1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

Add comment about matching stable scoring

Also updated equation to be close to what is expected
This commit is contained in:
Dean Herbert 2018-06-10 01:44:46 +09:00
parent 0b4f5af52e
commit cc37a355d2

View File

@ -301,7 +301,8 @@ namespace osu.Game.Rulesets.Scoring
TotalScore.Value = max_score * (base_portion * baseScore / maxBaseScore + combo_portion * HighestCombo / maxHighestCombo) + bonusScore;
break;
case ScoringMode.Exponential:
TotalScore.Value = (baseScore + bonusScore) * Math.Max(0, HighestCombo - 1) / 25f;
// should emulate osu-stable's scoring as closely as we can (https://osu.ppy.sh/help/wiki/Score/ScoreV1)
TotalScore.Value = bonusScore + baseScore * (1 + Math.Max(0, HighestCombo - 1) / 25);
break;
}
}