1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-28 15:55:37 +08:00

Move relax global multiplier to diffcalc

This commit is contained in:
StanR 2022-07-14 00:42:50 +03:00
parent 0983e4f81e
commit 760742e358
2 changed files with 2 additions and 3 deletions

View File

@ -45,8 +45,9 @@ namespace osu.Game.Rulesets.Osu.Difficulty
if (mods.Any(h => h is OsuModRelax))
{
aimRating *= 0.9;
speedRating = 0.0;
flashlightRating *= 0.75;
flashlightRating *= 0.7;
}
double baseAimPerformance = Math.Pow(5 * Math.Max(1, aimRating / 0.0675) - 4, 3) / 100000;

View File

@ -59,8 +59,6 @@ namespace osu.Game.Rulesets.Osu.Difficulty
// As we're adding Oks and Mehs to an approximated number of combo breaks the result can be higher than total hits in specific scenarios (which breaks some calculations) so we need to clamp it.
effectiveMissCount = Math.Min(effectiveMissCount + countOk * okMultiplier + countMeh * mehMultiplier, totalHits);
multiplier *= 0.7;
}
double aimValue = computeAimValue(score, osuAttributes);