added rhythm multiplier for strain sections

This commit is contained in:
emu1337
2021-08-15 20:48:00 +02:00
parent ce7ff04512
commit 29a22bd11f
2 changed files with 21 additions and 1 deletions

View File

@ -71,7 +71,12 @@ namespace osu.Game.Rulesets.Difficulty.Skills
CurrentStrain *= strainDecay(current.DeltaTime);
CurrentStrain += StrainValueOf(current) * SkillMultiplier;
currentSectionPeak = Math.Max(CurrentStrain, currentSectionPeak);
currentSectionPeak = Math.Max(GetTotalCurrentStrain(current), currentSectionPeak);
}
protected virtual double GetTotalCurrentStrain(DifficultyHitObject current)
{
return CurrentStrain;
}
/// <summary>