1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 16:47:46 +08:00

Update ManiaPerformanceCalculator.cs

This commit is contained in:
Givikap120 2024-05-21 11:36:56 +03:00
parent 96116ceede
commit a8b78e9835

View File

@ -42,6 +42,8 @@ namespace osu.Game.Rulesets.Mania.Difficulty
// The specific number has no intrinsic meaning and can be adjusted as needed.
double multiplier = 8.0;
if (score.Mods.Any(m => m is ModNoFail))
multiplier *= Math.Max(0.75, 1.0 - 0.02 * countMiss);
if (score.Mods.Any(m => m is ModEasy))
multiplier *= 0.5;