mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-18 23:03:33 +08:00
Add: ui_additional handling for shipyard and meta lab as can be routed from confirm click
This commit is contained in:
@@ -288,6 +288,14 @@ class UI(InfoHandler):
|
|||||||
if self.appear_then_click(GOTO_MAIN, offset=(30, 30)):
|
if self.appear_then_click(GOTO_MAIN, offset=(30, 30)):
|
||||||
return True
|
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
|
# Mistaken click
|
||||||
if self.appear(PLAYER_CHECK, offset=(30, 30), interval=3):
|
if self.appear(PLAYER_CHECK, offset=(30, 30), interval=3):
|
||||||
if self.appear_then_click(GOTO_MAIN, offset=(30, 30)):
|
if self.appear_then_click(GOTO_MAIN, offset=(30, 30)):
|
||||||
|
|||||||
Reference in New Issue
Block a user