osu/osu.Game/Rulesets/Scoring
Bartłomiej Dach 13c81db0cf Fix incorrect classic score formula
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.
2020-04-14 01:09:58 +02:00
..
AccumulatingHealthProcessor.cs
DrainingHealthProcessor.cs
HealthProcessor.cs
HitResult.cs
HitWindows.cs
JudgementProcessor.cs
ScoreProcessor.cs Fix incorrect classic score formula 2020-04-14 01:09:58 +02:00