1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-03 16:46:05 +08:00

Move relax global multiplier to diffcalc

This commit is contained in:
StanR
2022-07-14 00:42:50 +03:00
Unverified
parent 0983e4f81e
commit 760742e358
2 changed files with 2 additions and 3 deletions
@@ -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;
@@ -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);