From bb15f533b2b5ef30aa7fcdf9e60e93294efa0499 Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Fri, 13 Feb 2026 00:12:45 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E9=85=8D=E7=BD=AE=E8=BF=81=E7=A7=BB?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E4=B8=BA=E5=90=AF=E7=94=A8=E5=A4=87=E9=80=89?= =?UTF-8?q?=E4=B8=94=E9=A6=96=E4=B8=AA=E5=85=B3=E5=8D=A1=E4=B8=BA=E5=89=BF?= =?UTF-8?q?=E7=81=AD=E6=A8=A1=E5=BC=8F=E7=9A=84=E5=88=B7=E7=90=86=E6=99=BA?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E8=87=AA=E5=8A=A8=E6=B7=BB=E5=8A=A0=E9=A2=9D?= =?UTF-8?q?=E5=A4=96=E7=9A=84=E5=88=B7=E7=90=86=E6=99=BA=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Helper/ConfigConverter.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/MaaWpfGui/Helper/ConfigConverter.cs b/src/MaaWpfGui/Helper/ConfigConverter.cs index 8bbe95cbb9..00d762d9e2 100644 --- a/src/MaaWpfGui/Helper/ConfigConverter.cs +++ b/src/MaaWpfGui/Helper/ConfigConverter.cs @@ -491,6 +491,11 @@ public class ConfigConverter fightTask2.Name = LocalizationHelper.GetString("RemainingSanityStage", local); fightTask.IsEnable = task.IsEnable; fightTask2.IsEnable = task.IsEnable && ConfigurationHelper.GetValue(ConfigurationKeys.UseRemainingSanityStage, true) && fightTask2.StagePlan.FirstOrDefault() != string.Empty; + if (fightTask.UseOptionalStage && fightTask.StagePlan.FirstOrDefault() == "Annihilation") + { + ConfigFactory.CurrentConfig.TaskQueue.Add(new FightTask() { Name = LocalizationHelper.GetString("AnnihilationMode"), StagePlan = ["Annihilation"] }); + fightTask.StagePlan.RemoveAt(0); + } ConfigFactory.CurrentConfig.TaskQueue.Add(fightTask); ConfigFactory.CurrentConfig.TaskQueue.Add(fightTask2); ConfigurationHelper.DeleteValue(ConfigurationKeys.UseRemainingSanityStage);