From a27c51d25e8e7582a7fdbb00164dec8ee4f6bbdb Mon Sep 17 00:00:00 2001 From: DavidBeh <67109172+DavidBeh@users.noreply.github.com> Date: Mon, 25 Nov 2024 03:29:42 +0100 Subject: [PATCH] combo based hidden --- osu.Game.Rulesets.Osu/Mods/OsuModHidden.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game.Rulesets.Osu/Mods/OsuModHidden.cs b/osu.Game.Rulesets.Osu/Mods/OsuModHidden.cs index 8e53a9b8ecfa..42d7d242ad32 100644 --- a/osu.Game.Rulesets.Osu/Mods/OsuModHidden.cs +++ b/osu.Game.Rulesets.Osu/Mods/OsuModHidden.cs @@ -142,7 +142,7 @@ private void applyHiddenState(DrawableHitObject drawableObject, bool increaseVis sliderRepeat.CirclePiece.FadeOut(fadeDuration); using (drawableObject.BeginAbsoluteSequence(drawableObject.HitStateUpdateTime)) - sliderRepeat.FadeOut(); + sliderRepeat.FadeOut(fadeDuration); break; @@ -252,7 +252,7 @@ public override void ApplyToScoreProcessor(ScoreProcessor scoreProcessor) { scoreProcessor.Combo.ValueChanged += combo => { - fadeDurationFactor = combo.NewValue == 0f ? 1f : 1f - (float)combo.NewValue / 20f; + fadeDurationFactor = combo.NewValue == 0f ? 1f : 1f - (float)combo.NewValue / 25f; fadeDurationFactor = Math.Clamp(fadeDurationFactor, 0f, 1f); }; }