2020-05-27 16:49:26 +00:00
|
|
|
from module.campaign.campaign_base import CampaignBase
|
|
|
|
from module.map.map_base import CampaignMap
|
|
|
|
|
|
|
|
MAP = CampaignMap('d2')
|
|
|
|
MAP.shape = 'I7'
|
|
|
|
MAP.map_data = '''
|
|
|
|
SP -- -- -- -- -- ME ++ MB
|
|
|
|
-- ME -- MS ME -- -- ++ --
|
|
|
|
-- -- ME ++ ++ ++ -- -- --
|
|
|
|
ME __ -- ME ME ME -- MS --
|
|
|
|
ME MS -- ++ ++ ++ -- -- --
|
|
|
|
-- ME -- ME -- -- -- ++ --
|
|
|
|
SP -- -- -- -- ME -- ++ MB
|
|
|
|
'''
|
|
|
|
|
|
|
|
MAP.camera_data = ['D2', 'B5', 'H4']
|
|
|
|
MAP.weight_data = """
|
|
|
|
40 40 40 40 40 40 30 40 20
|
|
|
|
40 30 40 10 30 40 40 40 40
|
|
|
|
40 40 30 40 40 40 40 40 40
|
|
|
|
30 30 40 30 30 30 40 10 40
|
|
|
|
30 10 40 40 40 40 40 40 40
|
|
|
|
40 30 40 30 40 40 40 40 40
|
|
|
|
40 40 40 40 40 30 40 40 20
|
|
|
|
"""
|
2020-05-27 21:51:05 +00:00
|
|
|
MAP.spawn_data = [
|
|
|
|
{'battle': 0, 'enemy': 2, 'siren': 3},
|
|
|
|
{'battle': 1, 'enemy': 1},
|
|
|
|
{'battle': 2, 'enemy': 2, 'siren': 2},
|
|
|
|
{'battle': 3, 'enemy': 1},
|
|
|
|
{'battle': 4, 'enemy': 2, 'siren': 1},
|
|
|
|
{'battle': 5, 'enemy': 1},
|
|
|
|
{'battle': 6, 'boss': 1},
|
|
|
|
]
|
2020-05-27 16:49:26 +00:00
|
|
|
|
|
|
|
class Config:
|
|
|
|
SUBMARINE = 1
|
|
|
|
FLEET_BOSS = 2
|
2020-05-27 21:51:05 +00:00
|
|
|
|
|
|
|
POOR_MAP_DATA = True
|
2020-05-27 16:49:26 +00:00
|
|
|
MAP_HAS_AMBUSH = False
|
2020-05-27 21:51:05 +00:00
|
|
|
MAP_HAS_FLEET_STEP = True
|
|
|
|
MAP_HAS_MOVABLE_ENEMY = True
|
2020-05-27 16:49:26 +00:00
|
|
|
MAP_HAS_SIREN = True
|
2020-05-27 21:51:05 +00:00
|
|
|
MAP_HAS_DYNAMIC_RED_BORDER = True
|
2020-05-27 16:49:26 +00:00
|
|
|
MAP_SIREN_COUNT = 3
|
|
|
|
|
|
|
|
class Campaign(CampaignBase):
|
|
|
|
MAP = MAP
|