mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 01:02:54 +08:00
Use curve for holdAddition validity cutoff
This commit is contained in:
parent
a0a83fb51f
commit
e7a149af6c
@ -62,8 +62,7 @@ namespace osu.Game.Rulesets.Mania.Difficulty.Skills
|
|||||||
holdEndTimes[column] = endTime;
|
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
|
// 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 *= 1 / (1 + Math.Exp(0.5 * (24 - closestEndTime)));
|
||||||
holdAddition = 0;
|
|
||||||
|
|
||||||
// Increase individual strain in own column
|
// Increase individual strain in own column
|
||||||
individualStrains[column] += 2.0 * holdFactor;
|
individualStrains[column] += 2.0 * holdFactor;
|
||||||
|
Loading…
Reference in New Issue
Block a user