mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-14 07:08:04 +08:00
ix: Handle TACTICAL_CHECK without black-blurred background (#4861)
This commit is contained in:
parent
d7d729e198
commit
2247d72bf7
@ -434,7 +434,10 @@ class RewardTacticalClass(Dock):
|
||||
continue
|
||||
|
||||
# Get finish time
|
||||
if self.appear(TACTICAL_CHECK, offset=(20, 20), interval=2):
|
||||
# sometimes you have TACTICAL_CHECK without black-blurred background
|
||||
# TACTICAL_CLASS_CANCEL and TACTICAL_CHECK appears
|
||||
if not self.appear(TACTICAL_CLASS_CANCEL, offset=(20, 20)) \
|
||||
and self.appear(TACTICAL_CHECK, offset=(20, 20), interval=2):
|
||||
self.interval_clear([POPUP_CONFIRM, POPUP_CANCEL, GET_MISSION])
|
||||
if book_empty:
|
||||
self.device.click(BACK_ARROW)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user