mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Add: 增加处理光墙(海域格子间的分隔)
- 优化寻路初始化 - 修复海图log显示单字符显示'E'
This commit is contained in:
@@ -280,10 +280,10 @@ class CampaignMap:
|
||||
|
||||
if cost < arr.cost:
|
||||
arr.cost = cost
|
||||
arr.connection = grid
|
||||
arr.connection = grid.location
|
||||
elif cost == arr.cost:
|
||||
if abs(arr.location[0] - grid.location[0]) == 1:
|
||||
arr.connection = grid
|
||||
arr.connection = grid.location
|
||||
if arr.is_sea:
|
||||
new.add(arr)
|
||||
if len(new) == len(visited):
|
||||
|
||||
Reference in New Issue
Block a user