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

Refactor: go_month_boss_room() with retrying

This commit is contained in:
LmeSzinc
2023-01-11 20:51:31 +08:00
parent c39e308a1e
commit bb70f20b71
3 changed files with 35 additions and 12 deletions

View File

@@ -127,6 +127,8 @@ class OSMap(OSFleet, Map, GlobeCamera, StrategicSearchHandler):
self.globe_goto(self.zone_nearest_azur_port(self.zone),
types=('SAFE', 'DANGEROUS'), refresh=False)
else:
if self.is_in_globe():
self.os_globe_goto_map()
logger.info('Already at target zone')
return False
# MAP_EXIT