1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 10:22:56 +08:00

adjust formulae

This commit is contained in:
apollo-dw 2021-10-01 15:04:44 +01:00
parent b6f494cbb7
commit 7884dbbd11

View File

@ -110,7 +110,9 @@ namespace osu.Game.Rulesets.Osu.Difficulty
// We want to give more reward for lower AR when it comes to aim and HD. This nerfs high AR and buffs lower AR.
if (mods.Any(m => m is OsuModBlinds))
aimValue *= 1.0 + blindsMultiplier;
aimValue *= 1.0 + (0.14 + totalHits * (0.0016 / (1 + 2 * countMiss))
* Math.Pow(accuracy, 16))
* (1 - 0.003 * Attributes.DrainRate * Attributes.DrainRate);
else if (mods.Any(h => h is OsuModHidden))
aimValue *= 1.0 + 0.04 * (12.0 - Attributes.ApproachRate);
@ -234,6 +236,5 @@ namespace osu.Game.Rulesets.Osu.Difficulty
private int totalHits => countGreat + countOk + countMeh + countMiss;
private int totalSuccessfulHits => countGreat + countOk + countMeh;
private double blindsMultiplier => (0.12 + totalHits * (0.0008 / (1 + 2 * countMiss)) * Math.Pow(accuracy, 16)) * (1 - 0.003 * Attributes.DrainRate * Attributes.DrainRate);
}
}