1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-02 08:24:07 +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 50 50 50 50
"""
MAP.fortress_data = ['I7', 'C7']
MAP.spawn_data = [
{'battle': 0, 'enemy': 1, 'siren': 1},
{'battle': 1, 'enemy': 1},
@@ -67,6 +68,10 @@ class Config(ConfigBase):
MAP_HAS_MYSTERY = False
# ===== End of generated config =====
MAP_HAS_FORTRESS = True
MAP_SWIPE_MULTIPLY = 1.794
MAP_SWIPE_MULTIPLY_MINITOUCH = 1.734
class Campaign(CampaignBase):
MAP = MAP