1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 04:13:00 +08:00

changed miss penalty curve to scale with totalhits

This commit is contained in:
Xexxar 2020-12-10 14:21:06 -06:00
parent 0739f09930
commit 1f2946d64c

View File

@ -93,7 +93,8 @@ namespace osu.Game.Rulesets.Osu.Difficulty
aimValue *= lengthBonus;
// Penalize misses exponentially. This mainly fixes tag4 maps and the likes until a per-hitobject solution is available
aimValue *= Math.Pow(0.97, countMiss);
if (countMiss > 0)
aimValue *= .97 * Math.Pow(1 - Math.Pow((double)countMiss / (double)totalHits, .775), Math.Pow(countMiss, .75));
// Combo scaling
if (Attributes.MaxCombo > 0)
@ -139,7 +140,8 @@ namespace osu.Game.Rulesets.Osu.Difficulty
speedValue *= lengthBonus;
// Penalize misses exponentially. This mainly fixes tag4 maps and the likes until a per-hitobject solution is available
speedValue *= Math.Pow(0.97, countMiss);
if (countMiss > 0)
speedValue *= .97 * Math.Pow(1 - Math.Pow((double)countMiss / (double)totalHits, .775), Math.Pow(countMiss, 1));
// Combo scaling
if (Attributes.MaxCombo > 0)