1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-16 14:23:22 +08:00

Use number calculated at runtime from DecayWeight (#33733)

Replaces a constant that assumes DecayWeight == 0.9

Co-authored-by: James Wilson <tsunyoku@gmail.com>
Co-authored-by: StanR <8269193+stanriders@users.noreply.github.com>
This commit is contained in:
Nathan Corbett
2025-12-22 16:16:01 -08:00
committed by GitHub
Unverified
parent 906df15cbe
commit 6356d50f13
@@ -73,7 +73,7 @@ namespace osu.Game.Rulesets.Difficulty.Skills
if (ObjectStrains.Count == 0)
return 0.0;
double consistentTopStrain = DifficultyValue() / 10; // What would the top strain be if all strain values were identical
double consistentTopStrain = DifficultyValue() * (1 - DecayWeight); // What would the top strain be if all strain values were identical
if (consistentTopStrain == 0)
return ObjectStrains.Count;