mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 07:28:21 +08:00
Add: Event PT and time limit
- Fix: Auto update events in GemsFarming
This commit is contained in:
@@ -126,8 +126,10 @@ class AzurLaneConfig(ConfigUpdater, ManualConfig, GeneratedConfig):
|
||||
if isinstance(func, Function):
|
||||
func = func.command
|
||||
func_set = {func, 'General', 'Alas'}
|
||||
if 'opsi' in func.lower():
|
||||
if func.startswith('Opsi'):
|
||||
func_set.add('OpsiGeneral')
|
||||
if func.startswith('Event') or func.startswith('Raid') or func in ['MaritimeEscort', 'GemsFarming']:
|
||||
func_set.add('EventGeneral')
|
||||
logger.info(f'Bind task {func_set}')
|
||||
|
||||
# Bind arguments
|
||||
|
||||
Reference in New Issue
Block a user