Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions tasks/BondlingFairyland/script_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Loading