1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-09 11:46:59 +08:00

Fix: Path finding when grids blocked by fortress

This commit is contained in:
LmeSzinc
2021-09-17 18:22:24 +08:00
parent e0063325b2
commit 017df17029
18 changed files with 152 additions and 35 deletions

View File

@@ -28,6 +28,7 @@ MAP.weight_data = """
50 50 50 50 50 50 50 50
50 50 50 50 50 50 50 50
"""
MAP.fortress_data = ['F5', 'G1']
MAP.spawn_data = [
{'battle': 0, 'enemy': 1, 'siren': 1},
{'battle': 1, 'enemy': 1},
@@ -65,10 +66,11 @@ class Config(ConfigBase):
MAP_HAS_MYSTERY = False
# ===== End of generated config =====
MAP_HAS_FORTRESS = True
class Campaign(CampaignBase):
MAP = MAP
MACHINE_FORTRESS = [F5]
def battle_0(self):
if self.clear_siren():