mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-06-20 09:44:26 +08:00
Fix: Redundant globe_goto call when fleet was already repaired at port
This commit is contained in:
@@ -199,12 +199,14 @@ class OSGlobe(OSMap):
|
||||
f'{str(int(self.config.OpsiGeneral_RepairThreshold * 100))}%, '
|
||||
'retreating to nearest azur port for repairs')
|
||||
self.fleet_repair(revert=revert)
|
||||
self.hp_reset()
|
||||
return True
|
||||
else:
|
||||
logger.info('No ship found to be below threshold '
|
||||
f'{str(int(self.config.OpsiGeneral_RepairThreshold * 100))}%, '
|
||||
'continue OS exploration')
|
||||
self.hp_reset()
|
||||
return True
|
||||
self.hp_reset()
|
||||
return False
|
||||
|
||||
def fleet_resolve(self, revert=True):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user