mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 07:13:34 +08:00
Add: [EN] Support for OS world clearing
This commit is contained in:
@@ -510,6 +510,12 @@ class AzurLaneConfig:
|
||||
"""
|
||||
ENABLE_OS_SEMI_STORY_SKIP = True
|
||||
|
||||
"""
|
||||
Os_world_clear
|
||||
"""
|
||||
OS_WORLD_MAX_LEVEL = 4
|
||||
OS_WORLD_REPAIR_AFTER_CLEAR = 3
|
||||
|
||||
"""
|
||||
module.os
|
||||
"""
|
||||
@@ -805,6 +811,11 @@ class AzurLaneConfig:
|
||||
option = config['Os_clear_map']
|
||||
self.ENABLE_OS_ASH_ATTACK = to_bool(option['enable_os_ash_attack'])
|
||||
|
||||
# OS clear world
|
||||
option = config['Os_world_clear']
|
||||
self.OS_WORLD_MAX_LEVEL = int(option['os_world_max_level']) + 1
|
||||
self.OS_WORLD_REPAIR_AFTER_CLEAR = int(option['os_world_repair_after_clear'])
|
||||
|
||||
# OS fully auto
|
||||
option = config['Os_fully_auto']
|
||||
for attr in ['do_os_in_daily', 'enable_os_mission_accept', 'enable_os_mission_finish', 'enable_os_supply_buy',
|
||||
|
||||
Reference in New Issue
Block a user