1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-06 23:53:00 +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,12 +438,14 @@ namespace osu.Game.Rulesets.Osu.Difficulty
return 0;
double missedComboPercent = 1.0 - (double)scoreMaxCombo / attributes.MaxCombo;
double estimatedSliderbreaks = countMiss * topWeightedSliderFactor * DifficultyCalculationUtils.Logistic(missedComboPercent, 0.33, 15);
return Math.Min(countMeh + countOk, estimatedSliderbreaks);
double estimatedSliderbreaks = Math.Min(countOk, effectiveMissCount * topWeightedSliderFactor);
// 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 totalSuccessfulHits => countGreat + countOk + countMeh;
private int totalImperfectHits => countOk + countMeh + countMiss;
}
}
}