mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-27 21:27:17 +08:00
Add: TaskHoardingDuration and CloseGameDuringWait (#643)
This commit is contained in:
3
alas.py
3
alas.py
@@ -232,8 +232,8 @@ class AzurLaneAutoScript:
|
||||
name=self.config.Campaign_Name, folder=self.config.Campaign_Event, mode=self.config.Campaign_Mode)
|
||||
|
||||
def loop(self):
|
||||
logger.info(f'Start scheduler loop: {self.config_name}')
|
||||
logger.set_file_logger(self.config_name)
|
||||
logger.info(f'Start scheduler loop: {self.config_name}')
|
||||
|
||||
is_first = True
|
||||
while 1:
|
||||
@@ -243,6 +243,7 @@ class AzurLaneAutoScript:
|
||||
del self.__dict__['config']
|
||||
|
||||
logger.info(f'Scheduler: Start task `{self.config.task}`')
|
||||
self.device.stuck_record_clear()
|
||||
self.device.screenshot()
|
||||
logger.hr(self.config.task, level=0)
|
||||
success = self.run(inflection.underscore(self.config.task))
|
||||
|
||||
Reference in New Issue
Block a user