1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 03:13:22 +08:00

adjust ghw deviation

This commit is contained in:
Jay Lawton 2024-12-03 23:17:27 +10:00
parent 4206325304
commit de82718421

View File

@ -156,7 +156,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
double n = totalHits;
// Proportion of greats + goods hit.
double p = totalSuccessfulHits / n;
double p = Math.Max(0, totalSuccessfulHits - 0.1 * h100) / n;
// We can be 99% confident that p is at least this value.
double pLowerBound = (n * p + z * z / 2) / (n + z * z) - z / (n + z * z) * Math.Sqrt(n * p * (1 - p) + z * z / 4);