mirror of
https://github.com/ppy/osu.git
synced 2025-01-18 20:22:58 +08:00
correct distanceBonus
code comment
This commit is contained in:
parent
ac9c1508b1
commit
98d9b5eec8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user