1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-12 03:43:22 +08:00

scaling changes

This commit is contained in:
TextAdventurer12 2025-01-13 23:38:29 +13:00
parent 671bf2dbdd
commit 898f197091

View File

@ -438,8 +438,10 @@ namespace osu.Game.Rulesets.Osu.Difficulty
return 0; return 0;
double missedComboPercent = 1.0 - (double)scoreMaxCombo / attributes.MaxCombo; double missedComboPercent = 1.0 - (double)scoreMaxCombo / attributes.MaxCombo;
double estimatedSliderbreaks = countMiss * topWeightedSliderFactor * DifficultyCalculationUtils.Logistic(missedComboPercent, 0.33, 15); double estimatedSliderbreaks = Math.Min(countOk, effectiveMissCount * topWeightedSliderFactor);
return Math.Min(countMeh + countOk, estimatedSliderbreaks); // scores with more oks are more likely to have sliderbreaks
double okAdjustment = ((countOk - estimatedSliderbreaks) + 0.5) / countOk;
return estimatedSliderbreaks * okAdjustment * DifficultyCalculationUtils.Logistic(missedComboPercent, 0.33, 15);
} }
private int totalHits => countGreat + countOk + countMeh + countMiss; private int totalHits => countGreat + countOk + countMeh + countMiss;