1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-07-07 21:39:03 +08:00

Refactor: separate submarine_mode for clearer semantics

This commit is contained in:
positnuec
2026-07-02 17:47:24 +08:00
parent d9a9b784af
commit bb8a6d6044
19 changed files with 364 additions and 239 deletions

View File

@@ -622,6 +622,18 @@ class ConfigUpdater:
# ]
# ]
redirection += [
(
f'{task}.Submarine.Mode',
(f'{task}.Submarine.HuntMode', f'{task}.Submarine.CallMode'),
submarine_mode_redirect
) for task in [
'Main', 'Main2', 'Main3', 'GemsFarming',
'Event', 'Event2', 'EventA', 'EventB', 'EventC', 'EventD', 'EventSp', 'Raid', 'RaidDaily',
'Sos', 'WarArchives',
]
]
@cached_property
def args(self):
return read_file(filepath_args())