mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-24 09:33:34 +00:00
42 lines
890 B
Python
42 lines
890 B
Python
from module.campaign.campaign_base import CampaignBase
|
|
from module.map.map_base import CampaignMap
|
|
from module.map.map_grids import SelectedGrids, RoadGrids
|
|
from module.logger import logger
|
|
|
|
|
|
MAP = CampaignMap()
|
|
MAP.map_data = '''
|
|
-- ++ ++ MB MB ++ ++ ++
|
|
ME ++ ME -- -- ME ME --
|
|
-- -- __ -- ME __ -- --
|
|
ME -- ME -- -- -- ME --
|
|
-- -- ++ ME -- ME ++ ME
|
|
ME -- -- SP SP -- -- --
|
|
++ ++ -- -- -- -- ME ++
|
|
'''
|
|
MAP.camera_data = ['D3', 'D5']
|
|
MAP.spawn_data = [
|
|
{'battle': 0, 'enemy': 3},
|
|
{'battle': 1, 'enemy': 1},
|
|
{'battle': 2, 'enemy': 1},
|
|
{'battle': 3, 'enemy': 1},
|
|
{'battle': 4, 'boss': 1},
|
|
]
|
|
|
|
|
|
class Config:
|
|
SUBMARINE = 0
|
|
FLEET_BOSS = 1
|
|
|
|
MAP_HAS_AMBUSH = False
|
|
|
|
|
|
class Campaign(CampaignBase):
|
|
MAP = MAP
|
|
|
|
def battle_0(self):
|
|
return self.battle_default()
|
|
|
|
def battle_4(self):
|
|
return self.brute_clear_boss()
|