1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 20:13:21 +08:00

correct distanceBonus code comment

This commit is contained in:
tsunyoku 2024-09-24 11:23:34 +01:00
parent ac9c1508b1
commit 98d9b5eec8

View File

@ -64,7 +64,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Evaluators
// Cap distance at single_spacing_threshold
distance = Math.Min(distance, single_spacing_threshold);
// Max distance bonus is 2 at single_spacing_threshold
// Max distance bonus is 1 * `distance_multiplier` at single_spacing_threshold
double distanceBonus = Math.Pow(distance / single_spacing_threshold, 3.75) * distance_multiplier;
// Base difficulty with all bonuses