1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-04 05:22:54 +08:00

stop capping difficult strains per note

This commit is contained in:
TextAdventurer12 2024-04-06 21:39:27 +13:00
parent 0db910deb9
commit 9f5f6b5d37

View File

@ -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));
} }
} }
} }