1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-12 12:33:35 +08:00

Revert "Optimization: [EN] changed translator"

This reverts commit 68fbe6801e.
This commit is contained in:
kyO The NinjA
2020-06-03 13:51:54 -03:00
parent 68fbe6801e
commit 2c3919c2e1
38 changed files with 23 additions and 16025 deletions

View File

@@ -6,7 +6,6 @@ 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
@@ -23,6 +22,15 @@ 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, \
@@ -34,22 +42,7 @@ A6, B6, C6, D6, E6, F6, G6, H6, \
class Config:
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,
}
pass
class Campaign(CampaignBase):