1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 00:42:55 +08:00

changed scaling formula

This commit is contained in:
Givikap120 2024-10-03 18:12:16 +03:00
parent 27a5fba92d
commit 2a9b0d6986

View File

@ -435,7 +435,11 @@ namespace osu.Game.Rulesets.Osu.Difficulty
(Math.Pow(Math.Pow(mechanicalValue, power) + Math.Pow(accuracyValue, power), 1.0 / power)
+ cognitionValue) * multiplier;
double result = totalValue > 1000 ? 1 + 0.15625 * (totalValue - 1000) / 1000 : 1;
if (totalValue < 1000)
return 1;
double rescaledValue = totalValue / 1000 - 1;
double result = 1 + Math.Min(0.14 * Math.Pow(rescaledValue, 0.6), 0.115 * Math.Pow(rescaledValue, 0.3));
return result;
}