From a615817d661f399270b8f80506a2a87539d4a826 Mon Sep 17 00:00:00 2001 From: weirj2016-ai <282596331+weirj2016-ai@users.noreply.github.com> Date: Tue, 21 Jul 2026 11:38:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=84=E7=90=86=E5=A5=91=E7=81=B5?= =?UTF-8?q?=E6=B1=82=E6=8F=B4=E5=90=8E=E7=9A=84=E5=BC=8F=E7=9B=98=E4=B8=8A?= =?UTF-8?q?=E9=99=90=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/BondlingFairyland/script_task.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tasks/BondlingFairyland/script_task.py b/tasks/BondlingFairyland/script_task.py index b990bbe0e..5bab62154 100644 --- a/tasks/BondlingFairyland/script_task.py +++ b/tasks/BondlingFairyland/script_task.py @@ -101,14 +101,15 @@ def create_bond_team(): self.screenshot() if self.appear(self.I_GI_IN_ROOM): return True + # 求援后可能出现式盘数量上限确认弹窗 + if self.appear_then_click(self.I_UI_CONFIRM, interval=1): + sleep(1) + continue if click_count >= 6: logger.error('Click fire failed') logger.error( 'You might need to check your bondling number. It most possibly arrived to the max 500') raise BondlingNumberMax - # 某些活动的时候出现 “选择共鸣的阴阳师” - if self.appear_then_click(self.I_UI_CONFIRM, interval=1): - continue if self.check_and_invite(True): continue if self.appear(self.I_CREATE_TEAM, interval=1):