1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-17 00:28:52 +08:00

Add: Select zone types in OS

- Fix: os init from other pages
This commit is contained in:
LmeSzinc
2021-04-05 21:06:59 +08:00
parent df7fec4e2b
commit 9718e1835d
10 changed files with 75 additions and 3 deletions

View File

@@ -28,8 +28,13 @@ class OperationSiren(OSMap):
skip_first_screenshot=True)
elif self.is_in_globe():
self.ui_click(IN_GLOBE, check_button=self.is_in_map, skip_first_screenshot=True)
# Zone header has an animation to show.
self.device.sleep(0.3)
self.device.screenshot()
else:
self.ui_ensure(page_os)
self.ui_click(ZONE_ENTRANCE, appear_button=self.is_zone_pinned, check_button=self.is_in_map,
skip_first_screenshot=True)
self.map_init()