mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +08:00
Reduce low AR bonus
This commit is contained in:
parent
4f77637946
commit
58c687172b
@ -52,6 +52,8 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
|||||||
if (score.Mods.Any(h => h is OsuModRelax))
|
if (score.Mods.Any(h => h is OsuModRelax))
|
||||||
{
|
{
|
||||||
// https://www.desmos.com/calculator/bc9eybdthb
|
// https://www.desmos.com/calculator/bc9eybdthb
|
||||||
|
// we use OD13.3 as maximum since it's the value at which great hitwidow becomes 0
|
||||||
|
// this is well beyond currently maximum achievable OD which is 12.17 (DTx2 + DA with OD11)
|
||||||
double okMultiplier = Math.Max(0.0, osuAttributes.OverallDifficulty > 0.0 ? 1 - Math.Pow(osuAttributes.OverallDifficulty / 13.33, 1.8) : 1.0);
|
double okMultiplier = Math.Max(0.0, osuAttributes.OverallDifficulty > 0.0 ? 1 - Math.Pow(osuAttributes.OverallDifficulty / 13.33, 1.8) : 1.0);
|
||||||
double mehMultiplier = Math.Max(0.0, osuAttributes.OverallDifficulty > 0.0 ? 1 - Math.Pow(osuAttributes.OverallDifficulty / 13.33, 5) : 1.0);
|
double mehMultiplier = Math.Max(0.0, osuAttributes.OverallDifficulty > 0.0 ? 1 - Math.Pow(osuAttributes.OverallDifficulty / 13.33, 5) : 1.0);
|
||||||
|
|
||||||
@ -107,7 +109,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
|||||||
if (attributes.ApproachRate > 10.33)
|
if (attributes.ApproachRate > 10.33)
|
||||||
approachRateFactor = 0.3 * (attributes.ApproachRate - 10.33);
|
approachRateFactor = 0.3 * (attributes.ApproachRate - 10.33);
|
||||||
else if (attributes.ApproachRate < 8.0)
|
else if (attributes.ApproachRate < 8.0)
|
||||||
approachRateFactor = 0.1 * (8.0 - attributes.ApproachRate);
|
approachRateFactor = 0.05 * (8.0 - attributes.ApproachRate);
|
||||||
|
|
||||||
if (score.Mods.Any(h => h is OsuModRelax))
|
if (score.Mods.Any(h => h is OsuModRelax))
|
||||||
approachRateFactor = 0.0;
|
approachRateFactor = 0.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user