mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 21:02:59 +08:00
scaling changes
This commit is contained in:
parent
671bf2dbdd
commit
898f197091
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user