mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
Clean up code style issues
This commit is contained in:
parent
a46ae855aa
commit
812c85f3de
@ -197,8 +197,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
||||
pm * Math.Pow(229.5 - 11 * Attributes.OverallDifficulty, 2.0);
|
||||
|
||||
double accuracyValue = 2.83 * Math.Pow(1.52163, (79.5 - 2 * Math.Sqrt(variance)) / 6.0)
|
||||
* Math.Pow(Math.Log(1.0 + (Math.E - 1.0) * (Math.Min(amountHitObjectsWithAccuracy, 1600) / 1000.0)), 0.5);
|
||||
|
||||
* Math.Pow(Math.Log(1.0 + (Math.E - 1.0) * (Math.Min(amountHitObjectsWithAccuracy, 1600) / 1000.0)), 0.5);
|
||||
|
||||
if (mods.Any(m => m is OsuModHidden))
|
||||
accuracyValue *= 1.08;
|
||||
|
@ -86,7 +86,6 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
|
||||
{
|
||||
islandSize++; // island is still progressing, count size.
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
if (islandSize > 6)
|
||||
@ -152,7 +151,6 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
|
||||
angleBonus = 1.25;
|
||||
else if (angle < angle_bonus_begin)
|
||||
angleBonus = 1 + Math.Pow(Math.Sin(1.5 * (angle_bonus_begin - angle)), 2) / 4;
|
||||
|
||||
}
|
||||
|
||||
return (angleBonus * speedBonus * Math.Pow(distance / single_spacing_threshold, 3.5)) / osuCurrObj.StrainTime;
|
||||
|
Loading…
Reference in New Issue
Block a user