1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-18 07:57:19 +08:00

Opt: War Archives scroll capability to search for archives entrance, fixed number of attempts used to determine failure of search

Add: War Archives support for Iris of Light and Dark, Ink Stained Steel Sakura needs an actual template to use, temporarily using placeholder
This commit is contained in:
nEEtdo0d
2021-03-13 23:45:05 -05:00
parent 17f844fe58
commit e4caef5071
29 changed files with 1701 additions and 10 deletions

View File

@@ -0,0 +1,44 @@
from ..campaign_war_archives.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('a2')
MAP.shape = 'J6'
MAP.map_data = '''
SP -- ME -- ME -- -- -- ME MB
-- -- -- -- -- -- ++ -- - --
++ ++ ++ ME MS -- ++ __ ME ++
SP -- -- -- ME -- ME -- -- ME
-- -- ME -- -- -- -- ME -- --
++ ME ME -- ++ ME MM -- -- MB
'''
class Config:
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 = True
MAP_SIREN_COUNT = 1
TRUST_EDGE_LINES = True
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
'height': (80, 255 - 40),
'width': (0.9, 10),
'prominence': 10,
'distance': 35,
}
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
'height': (255 - 40, 255),
'prominence': 10,
'distance': 50,
'wlen': 1000
}
class Campaign(CampaignBase):
MAP = MAP