1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:25:11 +08:00

Adjust threshold

This commit is contained in:
smoogipoo 2018-12-21 13:48:10 +09:00
parent 1c44e19066
commit 3acbf75beb

View File

@ -27,7 +27,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
if (current.Angle != null)
angleBonus = MathHelper.Clamp((current.Angle.Value - angle_bonus_begin) / pi_over_2, min_angle_bonus, max_angle_bonus);
return (angleBonus * Math.Pow(Math.Max(0, current.JumpDistance - SINGLE_SPACING_THRESHOLD), 0.99)
return (angleBonus * Math.Pow(Math.Max(0, current.JumpDistance - STREAM_SPACING_THRESHOLD), 0.99)
+ Math.Pow(current.TravelDistance, 0.99)
+ Math.Pow(current.JumpDistance, 0.99)
) / current.StrainTime;