mirror of https://github.com/ppy/osu
Lessen repeated angle nerf for objects further back in time
This commit is contained in:
parent
d8854413cb
commit
08cb70b093
|
@ -47,7 +47,7 @@ public static double EvaluateDifficultyOf(DifficultyHitObject current, bool hidd
|
|||
|
||||
OsuDifficultyHitObject lastObj = osuCurrent;
|
||||
|
||||
int angleRepeatCount = 0;
|
||||
double angleRepeatCount = 0.0;
|
||||
|
||||
// We want to round angles to make abusing the nerf a bit harder.
|
||||
double initialRoundedAngle = 0.0;
|
||||
|
@ -82,8 +82,9 @@ public static double EvaluateDifficultyOf(DifficultyHitObject current, bool hidd
|
|||
{
|
||||
double roundedAngle = Math.Round(MathUtils.RadiansToDegrees(currentObj.Angle.Value) / 2.0) * 2.0;
|
||||
|
||||
// Objects further back in time should count less for the nerf.
|
||||
if (roundedAngle == initialRoundedAngle)
|
||||
angleRepeatCount++;
|
||||
angleRepeatCount += 1.0 - 0.1 * i;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue