mirror of
https://github.com/ppy/osu.git
synced 2025-01-18 06:22:56 +08:00
add check for different delta time
This commit is contained in:
parent
f4de5edecf
commit
a211d276c0
@ -172,6 +172,9 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Evaluators
|
||||
double relevantStrainTime = Math.Max(osuLast0Obj.StrainTime, osuLast2Obj.StrainTime);
|
||||
doubletapHitWindow *= DifficultyCalculationUtils.Smoothstep(doubletapHitWindow, relevantStrainTime / 2, relevantStrainTime);
|
||||
|
||||
// Don't nerf if difference in straintimes is too big
|
||||
doubletapHitWindow *= DifficultyCalculationUtils.ReverseLerp(osuLast0Obj.StrainTime, osuCurrObj.StrainTime * 0.4, osuCurrObj.StrainTime * 0.9);
|
||||
|
||||
// Divide by 2 because only half of hitwindow is used to abuse consecutive jumps
|
||||
double strainTimeAdjust = doubletappability * doubletapHitWindow / 2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user