realized i accidently deleted the OD scaling

This commit is contained in:
Xexxar 2020-12-09 11:21:03 -06:00
parent 7e3fcfe437
commit cfc34a63bd

View File

@ -126,6 +126,8 @@ namespace osu.Game.Rulesets.Osu.Difficulty
aimValue *= 0.5 + Math.Pow(Math.Sin(2.5 * (accuracy - .8) * Math.PI), 2) / 2; aimValue *= 0.5 + Math.Pow(Math.Sin(2.5 * (accuracy - .8) * Math.PI), 2) / 2;
else else
aimValue *= accuracy * (.5 / .8); aimValue *= accuracy * (.5 / .8);
// It is important to also consider accuracy difficulty when doing that
aimValue *= 0.975 + Math.Pow(Attributes.OverallDifficulty, 2) / 2000;
return aimValue; return aimValue;
} }
@ -161,7 +163,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
else else
speedValue *= accuracy * (.5 / .8); speedValue *= accuracy * (.5 / .8);
// It is important to also consider accuracy difficulty when doing that // It is important to also consider accuracy difficulty when doing that
speedValue *= 0.96 + Math.Pow(Attributes.OverallDifficulty, 2) / 1600; speedValue *= 0.95 + Math.Pow(Attributes.OverallDifficulty, 2) / 1000;
return speedValue; return speedValue;
} }