1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 23:18:22 +08:00

Del: Deprecate port_mission_accept()

This commit is contained in:
LmeSzinc
2022-01-13 17:48:24 +08:00
parent 803e7a5813
commit 61153482b3
2 changed files with 6 additions and 3 deletions

View File

@@ -37,6 +37,8 @@ class PortHandler(OSShopHandler):
"""
Accept all missions in port.
Deprecated since 2022.01.13, missions are shown only in overview, no longer to be shown at ports.
Returns:
bool: True if all missions accepted or no mission found.
False if unable to accept more missions.
@@ -52,7 +54,7 @@ class PortHandler(OSShopHandler):
self.ui_click(PORT_GOTO_MISSION, appear_button=PORT_CHECK, check_button=PORT_MISSION_CHECK,
skip_first_screenshot=True)
confirm_timer = Timer(1.5, count=3)
confirm_timer = Timer(1.5, count=3).start()
skip_first_screenshot = True
success = True
while 1: