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

Refactor: 统一了模板的写法

- 修复了没有阵容锁定选项时会卡住的问题
- 修复了非周回时频繁报Arrive with unexpected result的问题
- 清理了一些无用的asset
This commit is contained in:
LmeSzinc
2020-04-09 16:30:40 +08:00
parent cae9762b65
commit 8eab19ab04
26 changed files with 76 additions and 106 deletions

View File

@@ -159,7 +159,7 @@ class Fleet(Camera, AmbushHandler, MysteryHandler, MapOperation):
if self.config.MAP_HAS_AMBUSH and optimize:
nodes = self.map.find_path(location)
for node in nodes:
self._goto(node, expected=expected)
self._goto(node, expected=expected if node == nodes[-1] else '')
else:
self._goto(location, expected=expected)