mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Add: Daily OS ash beacon assist
- TODO: [EN][JP][TW] Replace assets
This commit is contained in:
@@ -226,7 +226,7 @@ class Reward(RewardCommission, RewardTacticalClass, RewardResearch, RewardDorm,
|
||||
|
||||
def daily_wrapper_run(self):
|
||||
count = 0
|
||||
total = 5
|
||||
total = 6
|
||||
|
||||
if self.config.ENABLE_EXERCISE:
|
||||
from module.exercise.exercise import Exercise
|
||||
@@ -272,6 +272,15 @@ class Reward(RewardCommission, RewardTacticalClass, RewardResearch, RewardDorm,
|
||||
az.record_save()
|
||||
count += 1
|
||||
|
||||
if self.config.ENABLE_OS_ASH_ASSIST:
|
||||
from module.os_ash.ash import AshDaily
|
||||
az = AshDaily(self.config, device=self.device)
|
||||
if not az.record_executed_since():
|
||||
az.run()
|
||||
az.record_save()
|
||||
# Ash assist doesn't finish any daily mission, so not counted in.
|
||||
# count += 1
|
||||
|
||||
logger.attr('Daily_executed', f'{count}/{total}')
|
||||
return count
|
||||
|
||||
|
||||
Reference in New Issue
Block a user