From 7afb608f487c60ae8914bc769ccdae25407fc59d Mon Sep 17 00:00:00 2001 From: Zhao Zuohong Date: Thu, 28 Sep 2023 16:00:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=91=9B=E6=9C=97=E5=8F=B0?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E8=AF=BB=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arknights_mower/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arknights_mower/__main__.py b/arknights_mower/__main__.py index 31f2cb9c5..48a840138 100644 --- a/arknights_mower/__main__.py +++ b/arknights_mower/__main__.py @@ -140,7 +140,7 @@ def initialize(tasks, scheduler=None): base_scheduler.operators = {} plan1 = {} plan_config = PlanConfig(plan['conf']['rest_in_full'],plan['conf']['exhaust_require'], plan['conf']['resting_priority'], ling_xi= plan['conf']['ling_xi'], - workaholic=plan['conf']['workaholic'],max_resting_count= plan['conf']['max_resting_count'], free_blacklist=conf['free_blacklist'],resting_threshold=conf['resting_threshold'], run_order_buffer_time=plan['run_order_grandet_mode']['buffer_time'] if plan['run_order_grandet_mode']['enable'] else -1) + workaholic=plan['conf']['workaholic'],max_resting_count= plan['conf']['max_resting_count'], free_blacklist=conf['free_blacklist'],resting_threshold=conf['resting_threshold'], run_order_buffer_time=conf['run_order_grandet_mode']['buffer_time'] if conf['run_order_grandet_mode']['enable'] else -1) for key in plan[plan['default']]: plan1[key] = [Room(obj["agent"],obj["group"],obj["replacement"]) for obj in plan[plan['default']][key]['plans']] # 默认任务