1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:17:26 +08:00

Divide slider bonus by repeat count

This commit is contained in:
MBmasher 2022-07-18 16:14:06 +10:00
parent 72c096f9af
commit 42b9dc877d

View File

@ -17,7 +17,6 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Evaluators
private const double min_velocity = 0.5;
private const double slider_multiplier = 1.3;
private const double repeat_bonus = 3.0;
/// <summary>
/// Evaluates the difficulty of memorising and hitting an object, based on:
@ -91,9 +90,9 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Evaluators
// Longer sliders require more memorisation.
sliderBonus *= pixelTravelDistance;
// Reward sliders with repeats.
// Nerf sliders with repeats, as less memorisation is required.
if (osuSlider.RepeatCount > 0)
sliderBonus *= repeat_bonus;
sliderBonus /= (osuSlider.RepeatCount + 1);
}
result += sliderBonus * slider_multiplier;