1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 01:38:21 +08:00

Fix: urgent commission undetected and HazardLevel 2 for OpsiMeowfficerFarming

This commit is contained in:
2025-07-04 04:18:54 +08:00
parent 59a7f7e4f8
commit 65df2c848c
16 changed files with 24 additions and 70 deletions

View File

@@ -295,18 +295,6 @@ class AzurLaneConfig(ConfigUpdater, ManualConfig, GeneratedConfig, ConfigWatcher
if isinstance(next_run, datetime) and next_run > limit:
deep_set(self.data, keys=f"{task}.Scheduler.NextRun", value=now)
for task in ["Commission", "Research", "Reward"]:
if not self.is_task_enabled(task):
self.modified[f"{task}.Scheduler.Enable"] = True
force_enable = list
force_enable(
[
"Commission",
"Research",
"Reward",
]
)
limit_next_run(["Commission", "Reward"], limit=now + timedelta(hours=12, seconds=-1))
limit_next_run(["Research"], limit=now + timedelta(hours=24, seconds=-1))
limit_next_run(["OpsiExplore", "OpsiCrossMonth", "OpsiVoucher", "OpsiMonthBoss", "OpsiShop"],