From ea57daf9ad3e9a237c81dda20cc8d42345ffc033 Mon Sep 17 00:00:00 2001 From: Shawnsdaddy Date: Fri, 29 Sep 2023 17:32:57 -0700 Subject: [PATCH] =?UTF-8?q?#317=20=E7=94=A8=E5=B0=BD=E5=B9=B2=E5=91=98?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arknights_mower/solvers/base_schedule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arknights_mower/solvers/base_schedule.py b/arknights_mower/solvers/base_schedule.py index 5e2331718..f0aad3301 100644 --- a/arknights_mower/solvers/base_schedule.py +++ b/arknights_mower/solvers/base_schedule.py @@ -703,7 +703,7 @@ def plan_solver(self): (op.upper_limit - op.lower_limit) * self.op_data.config.resting_threshold + op.lower_limit): continue if op.name in self.op_data.exhaust_agent: - if op.current_mood() <= 2: + if op.current_mood() <= op.lower_limit + 2: if find_next_task(self.tasks, meta_data=op.name) is None: self.enter_room(op.current_room) result = self.get_agent_from_room(op.current_room, [op.current_index])