mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 23:53:00 +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;
|
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;
|
||||||
private int totalSuccessfulHits => countGreat + countOk + countMeh;
|
private int totalSuccessfulHits => countGreat + countOk + countMeh;
|
||||||
private int totalImperfectHits => countOk + countMeh + countMiss;
|
private int totalImperfectHits => countOk + countMeh + countMiss;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user