mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Add: MISSION_POPUP_* assets and handling
TODO: [CN, TW, JP] may need to replace unless POP_UP_* assets are sufficient EN may be the only server that has altered pop up for these missions
This commit is contained in:
@@ -138,6 +138,25 @@ class InfoHandler(ModuleBase):
|
||||
|
||||
return False
|
||||
|
||||
"""
|
||||
Mission popup info
|
||||
"""
|
||||
def handle_mission_popup_go(self):
|
||||
if self.appear(MISSION_POPUP_ACK, offset=self._popup_offset) \
|
||||
and self.appear(MISSION_POPUP_GO, offset=self._popup_offset, interval=2):
|
||||
self.device.click(MISSION_POPUP_GO)
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
def handle_mission_popup_ack(self):
|
||||
if self.appear(MISSION_POPUP_GO, offset=self._popup_offset) \
|
||||
and self.appear(MISSION_POPUP_ACK, offset=self._popup_offset, interval=2):
|
||||
self.device.click(MISSION_POPUP_ACK)
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
"""
|
||||
Story
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user