1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-29 05:55:31 +08:00

Fix: [TW] handle clue popup with text only (#4819)

This commit is contained in:
LmeSzinc
2025-05-24 23:36:12 +08:00
parent 4a625e8990
commit 7b2bee4ba7
3 changed files with 5 additions and 0 deletions

View File

@@ -18,6 +18,10 @@ class HospitalUI(UI):
"""
if self.appear_then_click(GET_CLUE, offset=(20, 20), interval=1):
return True
if self.appear(GET_CLUE_TEXT, offset=(20, 20), interval=1):
logger.info(f'{GET_CLUE_TEXT} -> {GET_CLUE}')
self.device.click(GET_CLUE)
return True
return False
def handle_clue_exit(self):