mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-26 02:11:06 +00:00
Add: [EN] Add 'Prelude under the Moon' SP1 support
This commit is contained in:
parent
524570d12c
commit
1bebbcbf67
3
alas.bat
3
alas.bat
@ -1,2 +1,5 @@
|
||||
@echo off
|
||||
|
||||
adb connect 127.0.0.1:5555
|
||||
python -m uiautomator2 init
|
||||
Py alas_en.pyw
|
41
campaign/event_20200603_en/sp1.py
Normal file
41
campaign/event_20200603_en/sp1.py
Normal file
@ -0,0 +1,41 @@
|
||||
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 = CampaignMap('sp1')
|
||||
MAP.shape = 'h5'
|
||||
MAP.map_data = '''
|
||||
++ ++ ++ -- ME ME MB ++
|
||||
-- -- -- ME -- ME -- --
|
||||
-- -- ++ -- ME ++ MB --
|
||||
SP SP -- ME -- ++ -- ME
|
||||
SP SP -- -- ME -- 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()
|
Loading…
Reference in New Issue
Block a user