1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-13 00:37:45 +08:00

use countMiss instead of effectiveMissCount as the base for sliderbreaks

This commit is contained in:
danielthirtle 2024-12-22 16:54:15 +13:00
parent 966efedf0b
commit 3e5f319c75

View File

@ -143,7 +143,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
if (effectiveMissCount > 0) if (effectiveMissCount > 0)
{ {
double estimatedSliderbreaks = Math.Min(countMeh + countOk, effectiveMissCount * attributes.AimTopWeightedSliderFactor); double estimatedSliderbreaks = Math.Min(countMeh + countOk, countMiss * attributes.AimTopWeightedSliderFactor);
aimValue *= calculateMissPenalty(effectiveMissCount + (usingClassicSliderAccuracy ? estimatedSliderbreaks : 0), attributes.AimDifficultStrainCount); aimValue *= calculateMissPenalty(effectiveMissCount + (usingClassicSliderAccuracy ? estimatedSliderbreaks : 0), attributes.AimDifficultStrainCount);
} }
double approachRateFactor = 0.0; double approachRateFactor = 0.0;
@ -209,7 +209,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
if (effectiveMissCount > 0) if (effectiveMissCount > 0)
{ {
double estimatedSliderbreaks = Math.Min(countMeh + countOk, effectiveMissCount * attributes.SpeedTopWeightedSliderFactor); double estimatedSliderbreaks = Math.Min(countMeh + countOk, countMiss * attributes.SpeedTopWeightedSliderFactor);
speedValue *= calculateMissPenalty(effectiveMissCount + (usingClassicSliderAccuracy ? estimatedSliderbreaks : 0), attributes.SpeedDifficultStrainCount); speedValue *= calculateMissPenalty(effectiveMissCount + (usingClassicSliderAccuracy ? estimatedSliderbreaks : 0), attributes.SpeedDifficultStrainCount);
} }