From 434d7d1809d1c72436fa41aeb15088522bb030de Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Sun, 9 Dec 2018 15:05:58 +0900 Subject: [PATCH] Replace piecewise linear function + rebalance --- osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs b/osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs index e089713aa8..db653deed7 100644 --- a/osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs +++ b/osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs @@ -36,7 +36,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills double angleBonus = 1.0; if (current.Angle != null) - angleBonus = MathHelper.Clamp((angle_bonus_begin - current.Angle.Value) / pi_over_4 * 0.25 + 1.0, min_angle_bonus, max_angle_bonus); + angleBonus = MathHelper.Clamp((angle_bonus_begin - current.Angle.Value) / pi_over_4 * 0.5 + 1.0, min_angle_bonus, max_angle_bonus); return angleBonus * (0.95 + Math.Pow(distance / SINGLE_SPACING_THRESHOLD, 4)) / current.StrainTime; }