mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:33:20 +08:00
Adding lisence header
This commit is contained in:
parent
0405383e4e
commit
886be8ce1f
@ -98,7 +98,7 @@ namespace osu.Game.Rulesets.Catch.Difficulty
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// In milliseconds. For difficulty calculation we will only look at the highest strain value in each time interval of size STRAIN_STEP.
|
||||
/// This is to eliminate higher influence of stream over aim by simply having more HitObjects with high strain.
|
||||
|
@ -1,4 +1,7 @@
|
||||
using System;
|
||||
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System;
|
||||
using osu.Game.Rulesets.Catch.Objects;
|
||||
using osu.Game.Rulesets.Catch.UI;
|
||||
using OpenTK;
|
||||
@ -76,7 +79,7 @@ namespace osu.Game.Rulesets.Catch.Difficulty
|
||||
{
|
||||
double bonus = DIRECTION_CHANGE_BONUS / sqrtTime;
|
||||
|
||||
// Weight bonus by how
|
||||
// Weight bonus by how
|
||||
double bonusFactor = Math.Min(playerPositioningError, Math.Abs(LastMovement)) / playerPositioningError;
|
||||
|
||||
// We want time to play a role twice here!
|
||||
|
Loading…
Reference in New Issue
Block a user