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

Opt: Auto disable if_map_reach if map already reached a specific condition

This commit is contained in:
LmeSzinc
2020-08-11 00:32:27 +08:00
parent 7ee63cc651
commit d648bfde66
5 changed files with 18 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ class MapOperation(MysteryHandler, FleetPreparation, Retirement, FastForwardHand
if map_timer.reached() and self.handle_map_preparation():
self.map_get_info()
self.handle_fast_forward()
if self.triggered_map_stop():
if self.handle_map_stop():
self.enter_map_cancel()
raise ScriptEnd(f'Reach condition: {self.config.STOP_IF_MAP_REACH}')
self.device.click(MAP_PREPARATION)