mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-14 07:08:04 +08:00
Del: Deprecate port_mission_accept()
This commit is contained in:
parent
803e7a5813
commit
61153482b3
@ -221,8 +221,9 @@ class OperationSiren(Reward, OSMap):
|
||||
self.globe_goto(port)
|
||||
self.port_goto()
|
||||
self.port_enter()
|
||||
if mission and mission_success:
|
||||
mission_success &= self.port_mission_accept()
|
||||
# Deprecated since 2022.01.13, missions are shown only in overview, no longer to be shown at ports.
|
||||
# if mission and mission_success:
|
||||
# mission_success &= self.port_mission_accept()
|
||||
if supply and supply_success:
|
||||
supply_success &= self.port_supply_buy()
|
||||
self.port_quit()
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user