1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 02:48:23 +08:00

Refactor: Rename main configs

- Faster chapter selection and page_campaign
- Rename some old Chinglish variables in map info
This commit is contained in:
LmeSzinc
2021-09-15 21:33:11 +08:00
parent fb802bd0e3
commit 46d8d2fadb
43 changed files with 3179 additions and 358 deletions

View File

@@ -351,10 +351,10 @@ class RewardResearch(ResearchSelector):
if success:
if project is not None:
# Success to start a project
self.config.delay_next_run(minute=float(project.duration) * 60)
self.config.task_delay(minute=float(project.duration) * 60)
else:
# No project satisfies current filter
self.config.delay_next_run(server_update=True)
self.config.task_delay(server_update=True)
else:
# Project requirements are not satisfied
self.config.delay_next_run(success=False)
self.config.task_delay(success=False)