mirror of
https://github.com/ppy/osu.git
synced 2024-11-19 08:52:55 +08:00
13c81db0cf
Upon closer inspection the classic score formula was subtly wrong. The version given in the wiki is: Score = Hit Value + (Hit Value * ((Combo multiplier * Difficulty multiplier * Mod multiplier) / 25)) The code previously used: bonusScore + baseScore * ((1 + Math.Max(0, HighestCombo.Value - 1) * scoreMultiplier) / 25); which is not equivalent to the version on the wiki. The error is in the 1 factor, as in the above version it is being divided by 25, while it should be outside the division to keep parity with the previous formula. The tests attached in the previous commit demonstrate that this change causes a single hit without combo to increase total score by its exact numeric value. |
||
---|---|---|
.. | ||
AccumulatingHealthProcessor.cs | ||
DrainingHealthProcessor.cs | ||
HealthProcessor.cs | ||
HitResult.cs | ||
HitWindows.cs | ||
JudgementProcessor.cs | ||
ScoreProcessor.cs |