mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-09 05:47:30 +08:00
54 lines
1.2 KiB
Python
54 lines
1.2 KiB
Python
|
from .campaign_base import CampaignBase
|
||
|
from module.map.map_base import CampaignMap
|
||
|
from module.map.map_grids import SelectedGrids, RoadGrids
|
||
|
from module.logger import logger
|
||
|
from .isp1 import Config as ConfigBase
|
||
|
|
||
|
MAP = CampaignMap('ISP2')
|
||
|
MAP.shape = 'E5'
|
||
|
MAP.camera_data = ['C2']
|
||
|
MAP.camera_data_spawn_point = ['C2']
|
||
|
MAP.map_data = """
|
||
|
-- ++ ++ ++ --
|
||
|
-- ++ MB ++ --
|
||
|
-- ++ -- ++ --
|
||
|
++ -- SP -- ++
|
||
|
-- ++ ++ ++ --
|
||
|
"""
|
||
|
MAP.weight_data = """
|
||
|
50 50 50 50 50
|
||
|
50 50 50 50 50
|
||
|
50 50 50 50 50
|
||
|
50 50 50 50 50
|
||
|
50 50 50 50 50
|
||
|
"""
|
||
|
MAP.spawn_data = [
|
||
|
{'battle': 0, 'boss': 1},
|
||
|
]
|
||
|
A1, B1, C1, D1, E1, \
|
||
|
A2, B2, C2, D2, E2, \
|
||
|
A3, B3, C3, D3, E3, \
|
||
|
A4, B4, C4, D4, E4, \
|
||
|
A5, B5, C5, D5, E5, \
|
||
|
= MAP.flatten()
|
||
|
|
||
|
|
||
|
class Config(ConfigBase):
|
||
|
# ===== Start of generated config =====
|
||
|
MAP_HAS_MAP_STORY = False
|
||
|
MAP_HAS_FLEET_STEP = False
|
||
|
MAP_HAS_AMBUSH = False
|
||
|
MAP_HAS_MYSTERY = False
|
||
|
STAR_REQUIRE_1 = 0
|
||
|
STAR_REQUIRE_2 = 0
|
||
|
STAR_REQUIRE_3 = 0
|
||
|
# ===== End of generated config =====
|
||
|
|
||
|
|
||
|
class Campaign(CampaignBase):
|
||
|
MAP = MAP
|
||
|
ENEMY_FILTER = '1L > 1M > 1E > 1C > 2L > 2M > 2E > 2C > 3L > 3M > 3E > 3C'
|
||
|
|
||
|
def battle_0(self):
|
||
|
return self.clear_boss()
|