1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 23:18:22 +08:00

Add: ui_additional handling for shipyard and meta lab as can be routed from confirm click

This commit is contained in:
nEEtdo0d
2021-12-03 22:56:03 -05:00
parent 5da6c05b67
commit bc9eb2f6d8

View File

@@ -288,6 +288,14 @@ class UI(InfoHandler):
if self.appear_then_click(GOTO_MAIN, offset=(30, 30)):
return True
# Routed from confirm click
if self.appear(SHIPYARD_CHECK, offset=(30, 30), interval=3):
if self.appear_then_click(GOTO_MAIN, offset=(30, 30)):
return True
if self.appear(META_CHECK, offset=(30, 30), interval=3):
if self.appear_then_click(GOTO_MAIN, offset=(30, 30)):
return True
# Mistaken click
if self.appear(PLAYER_CHECK, offset=(30, 30), interval=3):
if self.appear_then_click(GOTO_MAIN, offset=(30, 30)):