mirror of https://github.com/ppy/osu
Use curve for holdAddition validity cutoff
This commit is contained in:
parent
a0a83fb51f
commit
e7a149af6c
|
@ -62,8 +62,7 @@ protected override double StrainValueOf(DifficultyHitObject current)
|
|||
holdEndTimes[column] = endTime;
|
||||
|
||||
// The hold addition only is valid if there is _no_ other note with the same ending. Releasing multiple notes at the same time is just as easy as releasing 1
|
||||
if (closestEndTime < 1)
|
||||
holdAddition = 0;
|
||||
holdAddition *= 1 / (1 + Math.Exp(0.5 * (24 - closestEndTime)));
|
||||
|
||||
// Increase individual strain in own column
|
||||
individualStrains[column] += 2.0 * holdFactor;
|
||||
|
|
Loading…
Reference in New Issue