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

Fix: Fleet detection when MAP_WALK_USE_CURRENT_FLEET is enable

This commit is contained in:
LmeSzinc
2022-04-30 21:12:46 +08:00
parent 542b391059
commit 442042c90e

View File

@@ -379,7 +379,7 @@ class Fleet(Camera, AmbushHandler):
elif self.config.MAP_WALK_USE_CURRENT_FLEET \
and expected != 'combat_boss' \
and not ('combat' in expected and grid.may_boss) \
and grid.predict_current_fleet():
and (grid.predict_fleet() or grid.predict_current_fleet()):
arrive_predict = '(MAP_WALK_USE_CURRENT_FLEET, is_current_fleet)'
arrive_checker = True
elif walk_timeout.reached() and grid.predict_current_fleet():