1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 09:07:25 +08:00

fix adding wrong values

This commit is contained in:
GoldenMine0502 2021-11-23 16:41:20 +09:00
parent b7510697c8
commit 9157b91e5f

View File

@ -154,7 +154,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
if (strainTime < min_speed_bonus)
speedBonus = 1 + 0.75 * Math.Pow((min_speed_bonus - strainTime) / speed_balancing_factor, 2);
double distance = Math.Min(single_spacing_threshold, osuCurrObj.TravelDistance + osuCurrObj.JumpDistance);
double distance = Math.Min(single_spacing_threshold, osuCurrObj.TravelDistance + osuCurrObj.MovementDistance);
return (speedBonus + speedBonus * Math.Pow(distance / single_spacing_threshold, 3.5)) / strainTime;
}