1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-15 11:18:13 +08:00

Optimization: [EN] changed translator

This commit is contained in:
kyO The NinjA
2020-06-03 13:49:58 -03:00
parent 5ef664f26e
commit 68fbe6801e
38 changed files with 16025 additions and 23 deletions

View File

@@ -6,6 +6,7 @@ from module.logger import logger
MAP = CampaignMap('10-2')
MAP.shape = 'H6'
MAP.camera_data = ['E2', 'E4']
MAP.map_data = '''
MB -- ME ME -- ++ ME MB
-- ++ ++ ME ME ++ ME ME
@@ -22,15 +23,6 @@ MAP.map_data = '''
# 10 10 10 10 10 10 10 10
# 10 10 10 10 10 10 10 10
# '''
# MAP.camera_data = ['D3']
# MAP.spawn_data = [
# {'battle': 0, 'enemy': 3},
# {'battle': 1, 'enemy': 2, 'mystery': 1},
# {'battle': 2, 'enemy': 2, 'mystery': 1},
# {'battle': 3, 'enemy': 1, 'mystery': 2},
# {'battle': 4, 'enemy': 1},
# {'battle': 5, 'boss': 1},
# ]
A1, B1, C1, D1, E1, F1, G1, H1, \
A2, B2, C2, D2, E2, F2, G2, H2, \
@@ -42,7 +34,22 @@ A6, B6, C6, D6, E6, F6, G6, H6, \
class Config:
pass
INTERNAL_LINES_HOUGHLINES_THRESHOLD = 50
EDGE_LINES_HOUGHLINES_THRESHOLD = 10
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
'height': (150, 255 - 24),
'width': (0.9, 10),
'prominence': 10,
'distance': 35,
}
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
'height': (255 - 24, 255),
'prominence': 10,
'distance': 50,
'width': (0, 10),
'wlen': 1000,
}
class Campaign(CampaignBase):