1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 07:43:00 +08:00

update comment and deltaTime check

This commit is contained in:
63411 2022-08-16 11:03:18 +08:00
parent 5f70ee3ed7
commit b33e0f5e1c

View File

@ -78,8 +78,8 @@ namespace osu.Game.Rulesets.Mania.Difficulty.Skills
individualStrains[column] = applyDecay(individualStrains[column], startTime - startTimes[column], individual_decay_base);
individualStrains[column] += 2.0 * holdFactor;
// individualStrain should be the hardest individualStrain column for notes in a chord
individualStrain = maniaCurrent.DeltaTime == 0 ? Math.Max(individualStrain, individualStrains[column]) : individualStrains[column];
// For notes at the same time (in a chord), the individualStrain should be the hardest individualStrain out of those columns
individualStrain = maniaCurrent.DeltaTime <= 1 ? Math.Max(individualStrain, individualStrains[column]) : individualStrains[column];
// Decay and increase overallStrain
overallStrain = applyDecay(overallStrain, current.DeltaTime, overall_decay_base);