mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
Cleanup
This commit is contained in:
parent
c67f756c75
commit
592d3fdf00
@ -98,9 +98,9 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
||||
|
||||
double approachRateFactor = 0.0;
|
||||
if (Attributes.ApproachRate > 10.33)
|
||||
approachRateFactor += Attributes.ApproachRate - 10.33;
|
||||
approachRateFactor = Attributes.ApproachRate - 10.33;
|
||||
else if (Attributes.ApproachRate < 8.0)
|
||||
approachRateFactor += 0.025 * (8.0 - Attributes.ApproachRate);
|
||||
approachRateFactor = 0.025 * (8.0 - Attributes.ApproachRate);
|
||||
|
||||
aimValue *= 1.0 + (0.03 + 0.37 * (1.0 / Math.Exp(-(0.0007 * (totalHits - 400))))) * approachRateFactor;
|
||||
|
||||
@ -147,12 +147,6 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
||||
if (Attributes.ApproachRate > 10.33)
|
||||
approachRateFactor = Attributes.ApproachRate - 10.33;
|
||||
|
||||
speedValue *= 1.0 + Math.Min(approachRateFactor, approachRateFactor * (totalHits / 1000.0));
|
||||
|
||||
double approachRateFactor = 0.0;
|
||||
if (Attributes.ApproachRate > 10.33)
|
||||
approachRateFactor += Attributes.ApproachRate - 10.33;
|
||||
|
||||
speedValue *= 1.0 + (0.03 + 0.37 * (1.0 / Math.Exp(-(0.0007 * (totalHits - 400))))) * approachRateFactor;
|
||||
|
||||
if (mods.Any(m => m is OsuModHidden))
|
||||
|
Loading…
Reference in New Issue
Block a user