1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

base formula implementation

This commit is contained in:
apollo-dw 2021-09-22 14:17:27 +01:00
parent 512af8809e
commit 2bac15ca1a

View File

@ -49,6 +49,10 @@ namespace osu.Game.Rulesets.Osu.Difficulty
if (mods.Any(m => m is OsuModSpunOut))
multiplier *= 1.0 - Math.Pow((double)Attributes.SpinnerCount / totalHits, 0.85);
if (mods.Any(m => m is OsuModBlinds))
multiplier *= 1.12 + (totalHits * (0.0008 / (1 + 3 * countMiss)));
double aimValue = computeAimValue();
double speedValue = computeSpeedValue();
double accuracyValue = computeAccuracyValue();