1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 22:08:20 +08:00

Add: SP in Dreamwaker's Butterfly

This commit is contained in:
LmeSzinc
2020-09-21 00:40:06 +08:00
parent 603bd1497a
commit 0d90ebdeff
3 changed files with 87 additions and 2 deletions

View File

@@ -316,7 +316,7 @@ class Fleet(Camera, AmbushHandler):
def goto(self, location, optimize=True, expected=''):
# self.device.sleep(1000)
location = location_ensure(location)
if (self.config.MAP_HAS_AMBUSH or self.config.MAP_HAS_FLEET_STEP) and optimize:
if (self.config.MAP_HAS_AMBUSH or self.config.MAP_HAS_FLEET_STEP or self.config.MAP_HAS_PORTAL) and optimize:
nodes = self.map.find_path(location, step=self.fleet_step)
for node in nodes:
try: