mirror of
https://github.com/ppy/osu.git
synced 2025-03-04 01:22:54 +08:00
stop capping difficult strains per note
This commit is contained in:
parent
0db910deb9
commit
9f5f6b5d37
@ -81,7 +81,8 @@ 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
|
||||||
|
|
||||||
return objectStrains.Sum(s => Math.Pow(Math.Min(1, s / consistentTopStrain), 5));
|
// Apply a power to nerf diffspikes, but only apply that power if s / adjustedDifficulty is less than 1, to prevent buffing certain spiky maps
|
||||||
|
return objectStrains.Sum(s => s >= adjustedDifficulty ? s / adjustedDifficulty : Math.Pow(s / adjustedDifficulty, 8));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user