mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 16:47:03 +08:00
Opt: New category type '?' allows ALAS to choose random, configurable ship count check
This commit is contained in:
@@ -294,6 +294,7 @@ class AzurLaneConfig:
|
||||
RETIREMENT_METHOD = 'one_click_retire' # enhance, old_retire, one_click_retire
|
||||
ENHANCE_FAVOURITE = False
|
||||
ENHANCE_ORDER_STRING = ''
|
||||
ENHANCE_CHECK_PER_CATEGORY = 2
|
||||
DOCK_FULL_TRIGGERED = False
|
||||
GET_SHIP_TRIGGERED = False
|
||||
RETIRE_AMOUNT = 'all' # all, 10
|
||||
@@ -602,6 +603,7 @@ class AzurLaneConfig:
|
||||
self.RETIRE_AMOUNT = option['retire_amount'].split('_')[1]
|
||||
self.ENHANCE_FAVOURITE = to_bool(option['enhance_favourite'])
|
||||
self.ENHANCE_ORDER_STRING = option['enhance_order_string']
|
||||
self.ENHANCE_CHECK_PER_CATEGORY = int(option['enhance_check_per_category'])
|
||||
for r in ['n', 'r']:
|
||||
self.__setattr__(f'RETIRE_{r.upper()}', to_bool(option[f'retire_{r}']))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user