mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-08 11:26:52 +08:00
Fix: Path finding when grids blocked by fortress
This commit is contained in:
@@ -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': 2},
|
||||
{'battle': 1, 'enemy': 1},
|
||||
@@ -69,10 +70,13 @@ 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
|
||||
MACHINE_FORTRESS = [I7]
|
||||
|
||||
def battle_0(self):
|
||||
if self.clear_siren():
|
||||
|
||||
Reference in New Issue
Block a user