From a4d1900f0c8b613bdf3e119cdf4a5f09278bf3d4 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Sun, 13 Apr 2025 15:34:47 +0200 Subject: [PATCH] Fix aether currents not being skipped --- Questionable/Controller/Steps/Shared/SkipCondition.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Questionable/Controller/Steps/Shared/SkipCondition.cs b/Questionable/Controller/Steps/Shared/SkipCondition.cs index e799df8c..ad2500f4 100644 --- a/Questionable/Controller/Steps/Shared/SkipCondition.cs +++ b/Questionable/Controller/Steps/Shared/SkipCondition.cs @@ -20,7 +20,7 @@ namespace Questionable.Controller.Steps.Shared; internal static class SkipCondition { - internal sealed class Factory : SimpleTaskFactory + internal sealed class Factory(Configuration configuration) : SimpleTaskFactory { public override ITask? CreateTask(Quest quest, QuestSequence sequence, QuestStep step) { @@ -34,7 +34,8 @@ internal static class SkipCondition step.PickUpQuestId == null && step.NextQuestId == null && step.RequiredCurrentJob.Count == 0 && - step.RequiredQuestAcceptedJob.Count == 0) + step.RequiredQuestAcceptedJob.Count == 0 && + !(step.InteractionType == EInteractionType.AttuneAetherCurrent && configuration.Advanced.SkipAetherCurrents)) return null; return new SkipTask(step, skipConditions ?? new(), quest.Id); -- 2.30.2