From: Liza Carvelli Date: Sun, 13 Apr 2025 13:34:47 +0000 (+0200) Subject: Fix aether currents not being skipped X-Git-Tag: v5.7~1 X-Git-Url: https://git.jacobcasper.com/?a=commitdiff_plain;h=a4d1900f0c8b613bdf3e119cdf4a5f09278bf3d4;p=Questionable.git Fix aether currents not being skipped --- 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);