1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 06:18:21 +08:00

Fix: Handle monthly pass notice

This commit is contained in:
LmeSzinc
2022-03-31 20:18:49 +08:00
parent 91328126ed
commit af3e402c49
4 changed files with 4 additions and 0 deletions

View File

@@ -313,6 +313,9 @@ class UI(InfoHandler):
if self.appear(EVENT_LIST_CHECK, offset=(30, 30), interval=3):
if self.appear_then_click(GOTO_MAIN, offset=(30, 30)):
return True
# Monthly pass is about to expire
if self.appear_then_click(MONTHLY_PASS_NOTICE, offset=(20, 20), interval=3):
return True
# Routed from confirm click
if self.appear(SHIPYARD_CHECK, offset=(30, 30), interval=3):