mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 15:27:30 +08:00
Merge pull request #8 from stanriders/speed-changes
Angular velocity bonus fixes
This commit is contained in:
commit
656e04bb5c
@ -63,7 +63,9 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Evaluators
|
||||
|
||||
double adjustedDistanceScale = 1.0;
|
||||
|
||||
if (osuCurrObj.Angle.HasValue && osuPrevObj?.Angle != null && osuCurrObj.Angle != osuPrevObj.Angle)
|
||||
if (osuCurrObj.Angle.HasValue &&
|
||||
osuPrevObj?.Angle != null &&
|
||||
Math.Abs(osuCurrObj.DeltaTime - osuPrevObj.DeltaTime) < 10)
|
||||
{
|
||||
double angleDifference = Math.Abs(osuCurrObj.Angle.Value - osuPrevObj.Angle.Value);
|
||||
double angleDifferenceAdjusted = Math.Sin((angleDifference) / 2) * 180.0;
|
||||
|
Loading…
Reference in New Issue
Block a user