mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-30 03:16:08 +00:00
Add: [EN] Skybound Oratorio
This commit is contained in:
parent
0b30e09ef0
commit
49ae4c6361
48
campaign/event_20200611_en/a1.py
Normal file
48
campaign/event_20200611_en/a1.py
Normal file
@ -0,0 +1,48 @@
|
||||
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 = '''
|
||||
-- -- ++ -- -- -- ++ ++
|
||||
-- -- -- -- -- -- -- --
|
||||
++ -- -- ++ -- -- -- --
|
||||
++ -- -- -- -- -- -- --
|
||||
-- -- -- -- -- -- -- --
|
||||
-- -- ++ ++ ++ -- -- ++
|
||||
'''
|
||||
|
||||
|
||||
class Config:
|
||||
SUBMARINE = 0
|
||||
FLEET_BOSS = 1
|
||||
|
||||
POOR_MAP_DATA = True
|
||||
MAP_HAS_AMBUSH = False
|
||||
MAP_HAS_FLEET_STEP = True
|
||||
MAP_HAS_MOVABLE_ENEMY = True
|
||||
MAP_HAS_SIREN = True
|
||||
MAP_HAS_DYNAMIC_RED_BORDER = False
|
||||
MAP_HAS_MAP_STORY = True
|
||||
MAP_SIREN_COUNT = 2
|
||||
|
||||
TRUST_EDGE_LINES = False
|
||||
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
|
||||
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (100, 255 - 24),
|
||||
'width': 1,
|
||||
'prominence': 10,
|
||||
'distance': 35,
|
||||
}
|
||||
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (255 - 24, 255),
|
||||
'prominence': 2,
|
||||
'distance': 50,
|
||||
'wlen': 1000
|
||||
}
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
21
campaign/event_20200611_en/a2.py
Normal file
21
campaign/event_20200611_en/a2.py
Normal file
@ -0,0 +1,21 @@
|
||||
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
|
||||
from campaign.event_20200521_cn.a1 import Config
|
||||
|
||||
|
||||
MAP = CampaignMap()
|
||||
MAP.map_data = '''
|
||||
-- -- -- -- -- -- -- -- ++
|
||||
-- -- -- ++ ++ -- -- -- ++
|
||||
++ -- -- -- -- -- -- -- --
|
||||
++ -- ++ -- -- -- -- -- --
|
||||
-- -- -- -- ++ ++ -- -- --
|
||||
-- -- -- -- ++ ++ -- -- --
|
||||
'''
|
||||
MAP.camera_data = ['D1', 'D4', 'F2', 'F4']
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
25
campaign/event_20200611_en/a3.py
Normal file
25
campaign/event_20200611_en/a3.py
Normal file
@ -0,0 +1,25 @@
|
||||
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
|
||||
from campaign.event_20200521_cn.a1 import Config as ConfigBase
|
||||
|
||||
|
||||
MAP = CampaignMap()
|
||||
MAP.map_data = '''
|
||||
-- -- -- ++ ++ -- -- --
|
||||
-- -- -- -- -- -- -- --
|
||||
++ ++ -- -- -- -- ++ ++
|
||||
-- -- -- ++ -- -- ++ ++
|
||||
-- -- -- ++ -- -- -- --
|
||||
-- -- -- -- -- -- -- ++
|
||||
-- -- -- ++ -- -- -- --
|
||||
'''
|
||||
|
||||
|
||||
class Config(ConfigBase):
|
||||
MAP_HAS_DYNAMIC_RED_BORDER = False
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
53
campaign/event_20200611_en/b1.py
Normal file
53
campaign/event_20200611_en/b1.py
Normal file
@ -0,0 +1,53 @@
|
||||
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 = '''
|
||||
-- -- ++ ++ -- --
|
||||
-- -- ++ ++ -- --
|
||||
++ -- -- -- -- --
|
||||
-- -- -- -- ++ --
|
||||
-- -- -- -- -- --
|
||||
++ ++ -- -- -- --
|
||||
++ -- -- -- ++ --
|
||||
-- -- -- -- -- --
|
||||
-- -- -- -- -- --
|
||||
'''
|
||||
MAP.camera_data = ['C3', 'C5', 'C7']
|
||||
|
||||
|
||||
class Config:
|
||||
SUBMARINE = 0
|
||||
FLEET_BOSS = 1
|
||||
|
||||
POOR_MAP_DATA = True
|
||||
MAP_HAS_AMBUSH = False
|
||||
MAP_HAS_FLEET_STEP = True
|
||||
MAP_HAS_MOVABLE_ENEMY = True
|
||||
MAP_HAS_SIREN = True
|
||||
MAP_HAS_DYNAMIC_RED_BORDER = False
|
||||
MAP_HAS_MAP_STORY = True
|
||||
MAP_SIREN_TEMPLATE = ['Algerie', 'LaGalissonniere']
|
||||
MAP_SIREN_COUNT = 2
|
||||
|
||||
TRUST_EDGE_LINES = False
|
||||
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
|
||||
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (100, 255 - 24),
|
||||
'width': 1,
|
||||
'prominence': 10,
|
||||
'distance': 35,
|
||||
}
|
||||
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (255 - 24, 255),
|
||||
'prominence': 2,
|
||||
'distance': 50,
|
||||
'wlen': 1000
|
||||
}
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
43
campaign/event_20200611_en/b2.py
Normal file
43
campaign/event_20200611_en/b2.py
Normal file
@ -0,0 +1,43 @@
|
||||
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
|
||||
from campaign.event_20200521_cn.b1 import Config as ConfigBase
|
||||
|
||||
|
||||
MAP = CampaignMap()
|
||||
MAP.map_data = """
|
||||
-- -- -- -- ++ -- -- -- -- ++ ++
|
||||
-- -- -- -- -- -- ++ ++ -- -- --
|
||||
++ -- -- -- -- -- ++ ++ -- -- --
|
||||
-- -- -- -- -- -- -- -- -- -- --
|
||||
-- -- -- -- -- -- -- -- -- -- --
|
||||
++ ++ -- -- -- -- ++ ++ -- -- --
|
||||
++ -- -- -- -- -- -- -- -- -- --
|
||||
"""
|
||||
MAP.wall_data = """
|
||||
· · | · · · · · · · · · ,
|
||||
+ ,
|
||||
· · · · · · · · · · | · ,
|
||||
+ + + + + ,
|
||||
· · | · · | · | · · · · | · · ,
|
||||
+---+---+ | | + ,
|
||||
· · · | · · | · · · · | · | · ,
|
||||
+---+ +---+ +---+ +-- ,
|
||||
· · · · · · · · · · · ,
|
||||
,
|
||||
· · · · · · · · · · · ,
|
||||
,
|
||||
· · · · · · · · · · · ,
|
||||
"""
|
||||
|
||||
|
||||
class Config(ConfigBase):
|
||||
FLEET_BOSS = 2
|
||||
|
||||
MAP_HAS_WALL = True
|
||||
MAP_SIREN_TEMPLATE = ['Algerie', 'Vauquelin']
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
53
campaign/event_20200611_en/b3.py
Normal file
53
campaign/event_20200611_en/b3.py
Normal file
@ -0,0 +1,53 @@
|
||||
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
|
||||
from campaign.event_20200521_cn.b1 import Config as ConfigBase
|
||||
|
||||
|
||||
MAP = CampaignMap()
|
||||
MAP.map_data = """
|
||||
-- -- -- -- -- -- -- -- -- -- -- -- -- ++
|
||||
-- -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||
++ -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||
++ -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||
-- -- -- -- -- -- -- -- -- -- -- -- ++ ++
|
||||
-- ++ -- -- ++ ++ -- -- ++ ++ -- -- -- --
|
||||
-- ++ -- -- ++ ++ -- -- ++ ++ -- -- -- --
|
||||
-- -- -- -- -- -- -- -- -- -- -- -- ++ ++
|
||||
++ -- -- -- -- -- -- -- -- -- -- -- ++ ++
|
||||
-- -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||
"""
|
||||
MAP.camera_data = ['G8', 'G6', 'F3', 'H4']
|
||||
MAP.wall_data = """
|
||||
· · · · · | · · · · | · · · · · ,
|
||||
+-----------+ +-----------+ ,
|
||||
· · | · · · | · · · · | · · · | · · ,
|
||||
| | | | ,
|
||||
· · | · · · | · · · · | · · · | · · ,
|
||||
+---+ +---+ +----+ +---+ ,
|
||||
· · · | · · · · · · · · | · · · ,
|
||||
| | ,
|
||||
· · · | · · · · · · · · | · · · ,
|
||||
| | ,
|
||||
· · · | · · · · · · · · | · · · ,
|
||||
| | ,
|
||||
· · · | · · · · · · · · | · · · ,
|
||||
| | ,
|
||||
· · · | · · · · · · · · | · · · ,
|
||||
| | ,
|
||||
· · · | · · · · · · · · | · · · ,
|
||||
+-----------+ +-----------+ ,
|
||||
· · · · · · | · · | · · · · · · ,
|
||||
"""
|
||||
|
||||
|
||||
class Config(ConfigBase):
|
||||
FLEET_BOSS = 2
|
||||
|
||||
MAP_HAS_WALL = True
|
||||
MAP_SIREN_TEMPLATE = ['LaGalissonniere', 'Vauquelin']
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
48
campaign/event_20200611_en/c1.py
Normal file
48
campaign/event_20200611_en/c1.py
Normal file
@ -0,0 +1,48 @@
|
||||
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 = '''
|
||||
-- -- ++ -- -- -- ++ ++
|
||||
-- -- -- -- -- -- -- --
|
||||
++ -- -- ++ -- -- -- --
|
||||
++ -- -- -- -- -- -- --
|
||||
-- -- -- -- -- -- -- --
|
||||
-- -- ++ ++ ++ -- -- ++
|
||||
'''
|
||||
|
||||
|
||||
class Config:
|
||||
SUBMARINE = 0
|
||||
FLEET_BOSS = 1
|
||||
|
||||
POOR_MAP_DATA = True
|
||||
MAP_HAS_AMBUSH = False
|
||||
MAP_HAS_FLEET_STEP = True
|
||||
MAP_HAS_MOVABLE_ENEMY = True
|
||||
MAP_HAS_SIREN = True
|
||||
MAP_HAS_DYNAMIC_RED_BORDER = False
|
||||
MAP_HAS_MAP_STORY = True
|
||||
MAP_SIREN_COUNT = 2
|
||||
|
||||
TRUST_EDGE_LINES = False
|
||||
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
|
||||
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (100, 255 - 16),
|
||||
'width': 1,
|
||||
'prominence': 10,
|
||||
'distance': 35,
|
||||
}
|
||||
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (255 - 16, 255),
|
||||
'prominence': 2,
|
||||
'distance': 50,
|
||||
'wlen': 1000
|
||||
}
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
21
campaign/event_20200611_en/c2.py
Normal file
21
campaign/event_20200611_en/c2.py
Normal file
@ -0,0 +1,21 @@
|
||||
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
|
||||
from campaign.event_20200521_cn.c1 import Config
|
||||
|
||||
|
||||
MAP = CampaignMap()
|
||||
MAP.map_data = '''
|
||||
-- -- -- -- -- -- -- -- ++
|
||||
-- -- -- ++ ++ -- -- -- ++
|
||||
++ -- -- -- -- -- -- -- --
|
||||
++ -- ++ -- -- -- -- -- --
|
||||
-- -- -- -- ++ ++ -- -- --
|
||||
-- -- -- -- ++ ++ -- -- --
|
||||
'''
|
||||
MAP.camera_data = ['D1', 'D4', 'F2', 'F4']
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
25
campaign/event_20200611_en/c3.py
Normal file
25
campaign/event_20200611_en/c3.py
Normal file
@ -0,0 +1,25 @@
|
||||
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
|
||||
from campaign.event_20200521_cn.c1 import Config as ConfigBase
|
||||
|
||||
|
||||
MAP = CampaignMap()
|
||||
MAP.map_data = '''
|
||||
-- -- -- ++ ++ -- -- --
|
||||
-- -- -- -- -- -- -- --
|
||||
++ ++ -- -- -- -- ++ ++
|
||||
-- -- -- ++ -- -- ++ ++
|
||||
-- -- -- ++ -- -- -- --
|
||||
-- -- -- -- -- -- -- ++
|
||||
-- -- -- ++ -- -- -- --
|
||||
'''
|
||||
|
||||
|
||||
class Config(ConfigBase):
|
||||
FLEET_BOSS = 2
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
84
campaign/event_20200611_en/d1.py
Normal file
84
campaign/event_20200611_en/d1.py
Normal file
@ -0,0 +1,84 @@
|
||||
from module.campaign.campaign_base import CampaignBase
|
||||
from module.map.map_base import CampaignMap
|
||||
|
||||
MAP = CampaignMap()
|
||||
MAP.map_data = '''
|
||||
-- ME ++ ++ -- ME
|
||||
ME ME ++ ++ ME ME
|
||||
++ -- MB MB -- --
|
||||
ME -- ME ME ++ ME
|
||||
ME MS __ __ ME ME
|
||||
++ ++ MS -- MS ME
|
||||
++ MS -- ME ++ ME
|
||||
ME -- SP -- ME --
|
||||
ME -- SP SP -- ME
|
||||
'''
|
||||
MAP.weight_data = """
|
||||
50 50 50 50 50 50
|
||||
40 40 40 40 40 40
|
||||
40 40 10 10 40 40
|
||||
30 20 20 20 30 50
|
||||
30 20 20 20 30 50
|
||||
30 30 20 20 30 50
|
||||
30 20 20 20 30 50
|
||||
50 20 20 20 30 50
|
||||
50 20 20 20 20 50
|
||||
"""
|
||||
MAP.camera_data = ['C3', 'C5', 'C7']
|
||||
MAP.spawn_data = [
|
||||
{'battle': 0, 'enemy': 2, 'siren': 2},
|
||||
{'battle': 1, 'enemy': 1},
|
||||
{'battle': 2, 'enemy': 2},
|
||||
{'battle': 3, 'enemy': 1},
|
||||
{'battle': 4, 'enemy': 2},
|
||||
{'battle': 5, 'enemy': 1, 'boss': 1},
|
||||
]
|
||||
|
||||
|
||||
class Config:
|
||||
SUBMARINE = 0
|
||||
FLEET_BOSS = 2
|
||||
|
||||
POOR_MAP_DATA = True
|
||||
MAP_HAS_AMBUSH = False
|
||||
MAP_HAS_FLEET_STEP = True
|
||||
MAP_HAS_MOVABLE_ENEMY = True
|
||||
MAP_HAS_SIREN = True
|
||||
MAP_HAS_DYNAMIC_RED_BORDER = False
|
||||
MAP_HAS_MAP_STORY = True
|
||||
MAP_SIREN_TEMPLATE = ['Algerie', 'LaGalissonniere']
|
||||
MAP_SIREN_COUNT = 2
|
||||
|
||||
TRUST_EDGE_LINES = False
|
||||
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
|
||||
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (100, 255 - 16),
|
||||
'width': 1,
|
||||
'prominence': 10,
|
||||
'distance': 35,
|
||||
}
|
||||
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (255 - 16, 255),
|
||||
'prominence': 2,
|
||||
'distance': 50,
|
||||
'wlen': 1000
|
||||
}
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
||||
|
||||
def battle_0(self):
|
||||
if self.clear_siren():
|
||||
return True
|
||||
if self.clear_enemy(scale=(1,)):
|
||||
return True
|
||||
if self.clear_enemy(scale=(2,), genre=['light', 'main', 'enemy', 'carrier']):
|
||||
return True
|
||||
if self.clear_enemy(genre=['light', 'main']):
|
||||
return True
|
||||
|
||||
return self.battle_default()
|
||||
|
||||
def battle_5(self):
|
||||
return self.fleet_2.brute_clear_boss()
|
42
campaign/event_20200611_en/d2.py
Normal file
42
campaign/event_20200611_en/d2.py
Normal file
@ -0,0 +1,42 @@
|
||||
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
|
||||
from campaign.event_20200521_cn.d1 import Config as ConfigBase
|
||||
|
||||
|
||||
MAP = CampaignMap()
|
||||
MAP.map_data = """
|
||||
-- -- -- -- ++ -- -- -- -- ++ ++
|
||||
-- -- -- -- -- -- ++ ++ -- -- --
|
||||
++ -- -- -- -- -- ++ ++ -- -- --
|
||||
-- -- -- -- -- -- -- -- -- -- --
|
||||
-- -- -- -- -- -- -- -- -- -- --
|
||||
++ ++ -- -- -- -- ++ ++ -- -- --
|
||||
++ -- -- -- -- -- -- -- -- -- --
|
||||
"""
|
||||
MAP.camera_data = ['D3', 'D5', 'F3', 'F5', 'H3', 'H5']
|
||||
MAP.wall_data = """
|
||||
· · | · · · · · · · · · ,
|
||||
+ ,
|
||||
· · · · · · · · · · | · ,
|
||||
+ + + + + ,
|
||||
· · | · · | · | · · · · | · · ,
|
||||
+---+---+ | | + ,
|
||||
· · · | · · | · · · · | · | · ,
|
||||
+---+ +---+ +---+ +-- ,
|
||||
· · · · · · · · · · · ,
|
||||
,
|
||||
· · · · · · · · · · · ,
|
||||
,
|
||||
· · · · · · · · · · · ,
|
||||
"""
|
||||
|
||||
|
||||
class Config(ConfigBase):
|
||||
MAP_HAS_WALL = True
|
||||
MAP_SIREN_TEMPLATE = ['Algerie', 'Vauquelin']
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
95
campaign/event_20200611_en/d3.py
Normal file
95
campaign/event_20200611_en/d3.py
Normal file
@ -0,0 +1,95 @@
|
||||
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
|
||||
from campaign.event_20200521_cn.d1 import Config as ConfigBase
|
||||
|
||||
|
||||
MAP = CampaignMap()
|
||||
MAP.map_data = """
|
||||
-- -- -- -- -- ME -- -- ME -- -- -- -- ++
|
||||
-- -- -- ME -- -- MB MB -- -- ME -- -- --
|
||||
++ -- ME -- ME ME -- -- ME ME -- ME -- --
|
||||
++ -- -- ME -- -- __ __ -- -- ME -- -- --
|
||||
-- -- -- -- ME MS -- -- MS ME -- -- ++ ++
|
||||
-- ++ -- ME ++ ++ -- -- ++ ++ ME -- -- --
|
||||
-- ++ -- ME ++ ++ -- -- ++ ++ ME -- -- --
|
||||
-- -- -- -- ME MS -- -- MS ME -- -- ++ ++
|
||||
++ -- -- -- -- -- -- -- -- -- -- -- ++ ++
|
||||
-- -- -- -- -- -- SP SP -- -- -- -- -- --
|
||||
"""
|
||||
MAP.weight_data = """
|
||||
10 10 10 10 10 10 10 10 10 10 10 10 10 10
|
||||
10 10 10 30 10 10 10 10 10 10 30 10 10 10
|
||||
10 10 30 10 10 10 10 10 10 10 10 30 10 10
|
||||
10 10 10 10 10 10 10 10 10 10 10 10 10 10
|
||||
10 10 10 10 10 10 10 10 10 10 10 10 10 10
|
||||
10 10 10 30 10 10 10 10 10 10 30 10 10 10
|
||||
10 10 10 30 10 10 10 10 10 10 30 10 10 10
|
||||
10 10 10 10 10 10 10 10 10 10 10 10 10 10
|
||||
10 10 10 10 10 10 10 10 10 10 10 10 10 10
|
||||
10 10 10 10 10 10 10 10 10 10 10 10 10 10
|
||||
"""
|
||||
MAP.camera_data = ['G8', 'G6', 'F3', 'H4']
|
||||
MAP.wall_data = """
|
||||
· · · · · | · · · · | · · · · · ,
|
||||
+-----------+ +-----------+ ,
|
||||
· · | · · · | · · · · | · · · | · · ,
|
||||
| | | | ,
|
||||
· · | · · · | · · · · | · · · | · · ,
|
||||
+---+ +---+ +----+ +---+ ,
|
||||
· · · | · · · · · · · · | · · · ,
|
||||
| | ,
|
||||
· · · | · · · · · · · · | · · · ,
|
||||
| | ,
|
||||
· · · | · · · · · · · · | · · · ,
|
||||
| | ,
|
||||
· · · | · · · · · · · · | · · · ,
|
||||
| | ,
|
||||
· · · | · · · · · · · · | · · · ,
|
||||
| | ,
|
||||
· · · | · · · · · · · · | · · · ,
|
||||
+-----------+ +-----------+ ,
|
||||
· · · · · · | · · | · · · · · · ,
|
||||
"""
|
||||
MAP.spawn_data = [
|
||||
{'battle': 0, 'enemy': 2, 'siren': 2},
|
||||
{'battle': 1, 'enemy': 1},
|
||||
{'battle': 2, 'enemy': 2, 'siren': 1},
|
||||
{'battle': 3, 'enemy': 1},
|
||||
{'battle': 4, 'enemy': 2},
|
||||
{'battle': 5, 'enemy': 1},
|
||||
{'battle': 6, 'boss': 1},
|
||||
]
|
||||
|
||||
|
||||
class Config(ConfigBase):
|
||||
MAP_HAS_WALL = True
|
||||
MAP_SIREN_TEMPLATE = ['LaGalissonniere', 'Vauquelin']
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
||||
|
||||
def battle_0(self):
|
||||
if self.clear_siren():
|
||||
return True
|
||||
if self.clear_enemy(scale=(2,), genre=['light', 'main', 'enemy', 'carrier']):
|
||||
return True
|
||||
if self.clear_enemy(scale=(3,), genre=['light', 'main', 'enemy', 'carrier']):
|
||||
return True
|
||||
|
||||
return self.battle_default()
|
||||
|
||||
def battle_5(self):
|
||||
if self.clear_enemy(scale=(1,)):
|
||||
return True
|
||||
if self.clear_enemy(scale=(2,), genre=['light', 'main', 'enemy', 'carrier']):
|
||||
return True
|
||||
if self.clear_enemy(genre=['light', 'main']):
|
||||
return True
|
||||
|
||||
return self.battle_default()
|
||||
|
||||
def battle_6(self):
|
||||
return self.fleet_2.brute_clear_boss()
|
@ -203,6 +203,7 @@ dic_true_eng_to_eng = {
|
||||
|
||||
# Event
|
||||
'event_20200521_en': 'event_20200521_en',
|
||||
'Skybound_Oratorio': 'event_20200611_en',
|
||||
|
||||
}
|
||||
dic_eng_to_true_eng = {v: k for k, v in dic_true_eng_to_eng.items()}
|
||||
|
Loading…
Reference in New Issue
Block a user