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

individualStrain should be the hardest individualStrain column for notes in a chord

This commit is contained in:
63411 2022-07-14 15:07:58 +08:00
parent 11c7756670
commit 4fdbf3ff24

View File

@ -78,7 +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 = individualStrains[column];
// individualStrain should be the hardest individualStrain column for notes in a chord
individualStrain = maniaCurrent.DeltaTime == 0 ? Math.Max(individualStrain, individualStrains[column]) : individualStrains[column];
// Decay and increase overallStrain
overallStrain = applyDecay(overallStrain, current.DeltaTime, overall_decay_base);