1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-18 11:31:30 +08:00

Opt: Update optimized camera data in main chapter

- Standardise the format of map files
This commit is contained in:
LmeSzinc
2021-11-22 21:06:40 +08:00
parent 2df2c8045e
commit 4e87034b4e
52 changed files with 317 additions and 324 deletions

View File

@@ -5,24 +5,22 @@ from module.logger import logger
MAP = CampaignMap('9-2')
MAP.shape = 'H5'
MAP.map_data = '''
MAP.camera_data = ['E3']
MAP.camera_data_spawn_point = ['D1', 'D3']
MAP.map_data = """
SP -- ++ ++ ++ Me -- MB
++ -- ++ ++ ++ ME ++ ++
-- ME -- ME ME Me ++ ++
-- -- ++ -- ME ++ ME MB
SP SP ++ ME -- Me ME ME
'''
MAP.weight_data = '''
"""
MAP.weight_data = """
90 90 90 90 90 30 30 30
90 90 90 90 90 30 90 90
90 80 70 60 50 30 90 90
90 90 90 90 50 90 30 30
90 90 90 90 40 40 30 30
'''
MAP.camera_data = ['D3', 'F3']
"""
MAP.spawn_data = [
{'battle': 0, 'enemy': 3},
{'battle': 1, 'enemy': 2},
@@ -31,7 +29,6 @@ MAP.spawn_data = [
{'battle': 4, 'enemy': 1},
{'battle': 5, 'boss': 1},
]
A1, B1, C1, D1, E1, F1, G1, H1, \
A2, B2, C2, D2, E2, F2, G2, H2, \
A3, B3, C3, D3, E3, F3, G3, H3, \
@@ -41,9 +38,10 @@ A5, B5, C5, D5, E5, F5, G5, H5, \
# Might have wrong prediction on D5
MAP.ignore_prediction(D5, enemy_scale=1, enemy_genre='Enemy')
road_main = RoadGrids([B3, D3, [D5, E4], F5, G5, [G4, H5], H4, E3 , F3, F2, F1])
road_main = RoadGrids([B3, D3, [D5, E4], F5, G5, [G4, H5], H4, E3, F3, F2, F1])
step_on = SelectedGrids([F3, E4])
class Config:
SUBMARINE = 0
INTERNAL_LINES_HOUGHLINES_THRESHOLD = 40