Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase SR for beatmaps with high bpm streams (220bpm+) #2565

Closed
wants to merge 15 commits into from
6 changes: 5 additions & 1 deletion osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ protected override double StrainValueOf(OsuDifficultyHitObject current)
{
double distance = current.TravelDistance + current.JumpDistance;

double speedBonus = 1.0;
if (current.StrainTime < 68) // 68 = 220 BPM 1/4th snapping in MS.
speedBonus = 68 / current.StrainTime; // 1.09x for 240 BPM, 1.18x for 260 BPM, 1.36x for 300 BPM, etc.

double speedValue;
if (distance > single_spacing_threshold)
speedValue = 2.5;
Expand All @@ -33,7 +37,7 @@ protected override double StrainValueOf(OsuDifficultyHitObject current)
else
speedValue = 0.95;

This comment was marked as off-topic.

This comment was marked as off-topic.

return speedValue / current.StrainTime;
return speedValue * speedBonus / current.StrainTime;
}
}
}