changed function names to be consistent

This commit is contained in:
Xexxar 2021-10-03 17:36:34 +00:00
parent 6d134b2a83
commit bc3ae4c4f8
2 changed files with 3 additions and 7 deletions

View File

@ -27,7 +27,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
private double skillMultiplier => 26.25;
private double strainDecayBase => 0.15;
private double aimStrainOf(DifficultyHitObject current)
private double strainValueOf(DifficultyHitObject current)
{
if (current.BaseObject is Spinner)
return 0;
@ -69,10 +69,8 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
protected override double StrainValueAt(DifficultyHitObject current)
{
double aimStrain = aimStrainOf(current);
currentStrain *= strainDecay(current.DeltaTime);
currentStrain += aimStrain * skillMultiplier;
currentStrain += strainValueOf(current) * skillMultiplier;
return currentStrain;
}

View File

@ -70,10 +70,8 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
protected override double StrainValueAt(DifficultyHitObject current)
{
double flashlightStrain = strainValueOf(current);
currentStrain *= strainDecay(current.DeltaTime);
currentStrain += flashlightStrain * skillMultiplier;
currentStrain += strainValueOf(current) * skillMultiplier;
return currentStrain;
}