mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 22:37:00 +08:00
Add: Screenshot interval in non-combat to help reduce CPU
This commit is contained in:
@@ -19,6 +19,10 @@ class Device(Screenshot, Control, AppControl):
|
||||
stuck_timer_long = Timer(300, count=300).start()
|
||||
stuck_long_wait_list = ['BATTLE_STATUS_S', 'PAUSE', 'LOGIN_CHECK']
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.screenshot_interval_set()
|
||||
|
||||
def handle_night_commission(self, daily_trigger='21:00', threshold=30):
|
||||
"""
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user