From 6356d50f13942787c8c29d1bcec052d4f80cc4ac Mon Sep 17 00:00:00 2001 From: Nathan Corbett <75299710+Finadoggie@users.noreply.github.com> Date: Mon, 22 Dec 2025 16:16:01 -0800 Subject: [PATCH] Use number calculated at runtime from DecayWeight (#33733) Replaces a constant that assumes DecayWeight == 0.9 Co-authored-by: James Wilson Co-authored-by: StanR <8269193+stanriders@users.noreply.github.com> --- osu.Game/Rulesets/Difficulty/Skills/StrainSkill.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Rulesets/Difficulty/Skills/StrainSkill.cs b/osu.Game/Rulesets/Difficulty/Skills/StrainSkill.cs index b6272bf56b..63e639cb87 100644 --- a/osu.Game/Rulesets/Difficulty/Skills/StrainSkill.cs +++ b/osu.Game/Rulesets/Difficulty/Skills/StrainSkill.cs @@ -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;