1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-19 03:44:06 +08:00

Add: Semi-auto for operation siren

- Fix: Clicking on HOME button when skipping story
- TODO: [EN][JP] Replace assets in os_combat and os_handler
This commit is contained in:
LmeSzinc
2020-12-23 18:48:41 +08:00
parent 4a8ae72ef3
commit 57822607e1
39 changed files with 222 additions and 0 deletions

View File

@@ -481,6 +481,11 @@ class AzurLaneConfig:
C124_NON_S3_WITHDRAW_TOLERANCE = 0
C124_AMMO_PICK_UP = 3
"""
Os_semi_auto
"""
ENABLE_OS_SEMI_STORY_SKIP = True
def create_folder(self):
for folder in [self.ASSETS_FOLDER, self.PERSPECTIVE_ERROR_LOG_FOLDER, self.ERROR_LOG_FOLDER]:
if folder and not os.path.exists(folder):
@@ -733,6 +738,10 @@ class AzurLaneConfig:
self.C124_NON_S3_WITHDRAW_TOLERANCE = int(option['non_s3_enemy_withdraw_tolerance'])
self.C124_AMMO_PICK_UP = int(option['ammo_pick_up_124'])
# OS semi auto
option = config['Os_semi_auto']
self.ENABLE_OS_SEMI_STORY_SKIP = to_bool(option['enable_os_semi_story_skip'])
def get_server_timezone(self):
if self.SERVER == 'en':
return -7