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

Opt: Move Wasteland mode to stop condition if_map_reach

Opt: Gather map status
This commit is contained in:
LmeSzinc
2020-08-11 00:08:29 +08:00
parent 2134c4d8d5
commit 7ee63cc651
12 changed files with 109 additions and 102 deletions

View File

@@ -55,10 +55,11 @@ class MapOperation(MysteryHandler, FleetPreparation, Retirement, FastForwardHand
# Map preparation
if map_timer.reached() and self.handle_map_preparation():
if self.handle_map_clear_mode_stop():
self.enter_map_cancel()
raise ScriptEnd(f'Reach condition: {self.config.CLEAR_MODE_STOP_CONDITION}')
self.map_get_info()
self.handle_fast_forward()
if self.triggered_map_stop():
self.enter_map_cancel()
raise ScriptEnd(f'Reach condition: {self.config.STOP_IF_MAP_REACH}')
self.device.click(MAP_PREPARATION)
map_timer.reset()
campaign_timer.reset()