mirror of
https://github.com/ppy/osu.git
synced 2024-12-18 07:13:21 +08:00
adjust count difficult strains formula
This commit is contained in:
parent
b32d73ec9b
commit
e2a5d1904b
@ -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))));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user