1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-18 10:32:56 +08:00

adjust count difficult strains formula

This commit is contained in:
TextAdventurer12 2024-04-17 01:21:06 +12:00
parent b32d73ec9b
commit e2a5d1904b

View File

@ -81,7 +81,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
{ {
double consistentTopStrain = difficulty / 10; // What would the top strain be if all strain values were identical double consistentTopStrain = difficulty / 10; // What would the top strain be if all strain values were identical
// Use a weighted sum of all strains. Constants are arbitrary and give nice values // Use a weighted sum of all strains. Constants are arbitrary and give nice values
return objectStrains.Sum(s => 1.3 / (1 + Math.Exp(-14.15 * (Math.Pow(s / consistentTopStrain, 2) - 0.945)))); return objectStrains.Sum(s => 1.1 / (1 + Math.Exp(-10 * (s / consistentTopStrain - 0.88))));
} }
} }
} }