From 35f9d64c70b7b97e19116fb5f6fb511aad1db6ad Mon Sep 17 00:00:00 2001 From: Shawnsdaddy Date: Tue, 17 Oct 2023 18:50:02 -0700 Subject: [PATCH] =?UTF-8?q?=E7=BA=BF=E7=B4=A2=E6=95=B0=E9=87=8F=E4=B8=BA10?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E6=97=A0=E6=B3=95=E9=A2=86=E5=8F=96=E6=AF=8F?= =?UTF-8?q?=E6=97=A5=E7=BA=BF=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arknights_mower/solvers/base_schedule.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arknights_mower/solvers/base_schedule.py b/arknights_mower/solvers/base_schedule.py index 1ccd0314f..142c0d59e 100644 --- a/arknights_mower/solvers/base_schedule.py +++ b/arknights_mower/solvers/base_schedule.py @@ -478,7 +478,7 @@ def infra_main(self): self.planned = True elif not self.todo_task: get_update_time() - if self.party_time is None and self.enable_party: + if (self.party_time is None or self.free_clue is None) and self.enable_party: self.clue() if self.clue_count > self.clue_count_limit and self.enable_party: self.share_clue() @@ -1080,7 +1080,7 @@ def clue(self) -> None: self.tap((self.recog.w - 10, self.recog.h - 10), interval=3, rebuild=False) self.tap((self.recog.w * 0.05, self.recog.h * 0.95), interval=3) - if self.free_clue is None: + if self.free_clue is None and self.clue_count < 10 and self.clue_count != -1: logger.info('领取会客室线索') self.tap(((x0 + x1) // 2, (y0 * 5 - y1) // 4), interval=3) obtain = self.find('clue_obtain')