1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-24 18:52:54 +08:00

Use miss count for effective miss count

No need to estimate misses for non-CL scores.
This commit is contained in:
Fina 2024-03-21 23:24:37 -07:00
parent 3dafdc01bb
commit 840845527f

View File

@ -39,7 +39,10 @@ namespace osu.Game.Rulesets.Osu.Difficulty
countOk = score.Statistics.GetValueOrDefault(HitResult.Ok);
countMeh = score.Statistics.GetValueOrDefault(HitResult.Meh);
countMiss = score.Statistics.GetValueOrDefault(HitResult.Miss);
effectiveMissCount = calculateEffectiveMissCount(osuAttributes);
if (!score.Mods.Any(h => h is OsuModClassic cl && cl.NoSliderHeadAccuracy.Value))
effectiveMissCount = countMiss;
else
effectiveMissCount = calculateEffectiveMissCount(osuAttributes);
double multiplier = PERFORMANCE_BASE_MULTIPLIER;