mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 02:48:23 +08:00
Opt: changed exercise order, now will be first in daily loop
This commit is contained in:
@@ -223,6 +223,14 @@ class Reward(RewardCommission, RewardTacticalClass, RewardResearch, RewardDorm,
|
||||
def daily_wrapper_run(self):
|
||||
count = 0
|
||||
total = 5
|
||||
if self.config.ENABLE_EXERCISE:
|
||||
from module.exercise.exercise import Exercise
|
||||
az = Exercise(self.config, device=self.device)
|
||||
if not az.record_executed_since():
|
||||
az.run()
|
||||
az.record_save()
|
||||
count += 1
|
||||
|
||||
if self.config.ENABLE_DAILY_MISSION:
|
||||
from module.daily.daily import Daily
|
||||
az = Daily(self.config, device=self.device)
|
||||
@@ -239,14 +247,6 @@ class Reward(RewardCommission, RewardTacticalClass, RewardResearch, RewardDorm,
|
||||
az.record_save()
|
||||
count += 1
|
||||
|
||||
if self.config.ENABLE_EXERCISE:
|
||||
from module.exercise.exercise import Exercise
|
||||
az = Exercise(self.config, device=self.device)
|
||||
if not az.record_executed_since():
|
||||
az.run()
|
||||
az.record_save()
|
||||
count += 1
|
||||
|
||||
if self.config.ENABLE_EVENT_SP:
|
||||
from module.event.campaign_sp import CampaignSP
|
||||
az = CampaignSP(self.config, device=self.device)
|
||||
|
||||
Reference in New Issue
Block a user