mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:17:27 +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;
|
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 angleDifference = Math.Abs(osuCurrObj.Angle.Value - osuPrevObj.Angle.Value);
|
||||||
double angleDifferenceAdjusted = Math.Sin((angleDifference) / 2) * 180.0;
|
double angleDifferenceAdjusted = Math.Sin((angleDifference) / 2) * 180.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user