1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-04 16:12:58 +08:00

fix object density

This commit is contained in:
Jay Lawton 2024-12-01 20:18:26 +10:00
parent 981653a55e
commit 5a8638fab9
2 changed files with 4 additions and 2 deletions

View File

@ -37,7 +37,9 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Evaluators
/// <returns>The calculated object density.</returns>
public static double CalculateObjectDensity(TaikoDifficultyHitObject noteObject)
{
return 50 * DifficultyCalculationUtils.Logistic(noteObject.DeltaTime, 200, 1.0 / 30);
double objectDensity = 50 * DifficultyCalculationUtils.Logistic(noteObject.DeltaTime, 200, 1.0 / 300);
return 1 - DifficultyCalculationUtils.Logistic(noteObject.EffectiveBPM, objectDensity, 1.0 / 240);
}
}
}

View File

@ -38,7 +38,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Skills
return 0.0;
}
ObjectDensity = ReadingEvaluator.CalculateObjectDensity(taikoObject);
ObjectDensity = ReadingEvaluator.CalculateObjectDensity(taikoObject) * 10;
currentStrain *= StrainDecayBase;
currentStrain += ReadingEvaluator.EvaluateDifficultyOf(taikoObject) * SkillMultiplier;