mirror of
https://github.com/ppy/osu
synced 2025-01-10 16:19:47 +00:00
realized i accidently deleted the OD scaling
This commit is contained in:
parent
7e3fcfe437
commit
cfc34a63bd
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user