mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Del: Deprecate port_mission_accept()
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user