Skip to content

Commit 38b3d5f

Browse files
committed
Update recommended difficulty for osu!taiko
1 parent 88241d5 commit 38b3d5f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

osu.Game/Beatmaps/DifficultyRecommender.cs

+5-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,11 @@ protected override void LoadComplete()
7878

7979
private void updateMapping(RulesetInfo ruleset, UserStatistics statistics)
8080
{
81-
// algorithm taken from https://github.com/ppy/osu-web/blob/e6e2825516449e3d0f3f5e1852c6bdd3428c3437/app/Models/User.php#L1505
82-
recommendedDifficultyMapping[ruleset.ShortName] = Math.Pow((double)(statistics.PP ?? 0), 0.4) * 0.195;
81+
// algorithm taken from https://github.com/ppy/osu-web/blob/027026fccc91525e39cee5d2f369f1b343eb1bf1/app/Models/UserStatistics/Model.php#L93-L94
82+
recommendedDifficultyMapping[ruleset.ShortName] =
83+
ruleset.ShortName == @"taiko"
84+
? Math.Pow((double)(statistics.PP ?? 0), 0.35) * 0.27
85+
: Math.Pow((double)(statistics.PP ?? 0), 0.4) * 0.195;
8386
}
8487

8588
/// <summary>

0 commit comments

Comments
 (0)