mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Fix: 修复有行走步长时可能点到另一支队伍的问题
- 微调了复刻苍红的回响D图的透视识别参数
This commit is contained in:
@@ -296,6 +296,7 @@ class CampaignMap:
|
||||
if not self[route[index]].is_fleet:
|
||||
res.append(index)
|
||||
else:
|
||||
logger.info(f'Path_node_avoid: {self[route[index]]}')
|
||||
if (index > 1) and (index - 1 not in indexes):
|
||||
res.append(index - 1)
|
||||
if (index < len(route) - 2) and (index + 1 not in indexes):
|
||||
@@ -312,6 +313,7 @@ class CampaignMap:
|
||||
if not self[route[index]].is_fleet:
|
||||
inserted.append(index)
|
||||
else:
|
||||
logger.info(f'Path_node_avoid: {self[route[index]]}')
|
||||
if (index > 1) and (index - 1 not in res):
|
||||
inserted.append(index - 1)
|
||||
if (index < len(route) - 2) and (index + 1 not in res):
|
||||
|
||||
Reference in New Issue
Block a user