mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Add: 增加处理被精英抓住
- 修复原地寻路报warning - 修复到达误判
This commit is contained in:
@@ -158,7 +158,9 @@ class Fleet(Camera, MapOperation, AmbushHandler):
|
||||
raise MapWalkError('walk_out_of_step')
|
||||
|
||||
# Arrive
|
||||
if self.is_in_map() and (grid.predict_fleet() or grid.predict_current_fleet()):
|
||||
if self.is_in_map() and \
|
||||
(grid.predict_fleet() or
|
||||
(walk_timeout.reached() and grid.predict_current_fleet())):
|
||||
if not arrive_timer.started():
|
||||
logger.info(f'Arrive {location2node(location)}')
|
||||
arrive_timer.start()
|
||||
|
||||
Reference in New Issue
Block a user