mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
Fix: Update weekly dashboard (#270)
This commit is contained in:
parent
6fe869702b
commit
53eac6dc8c
@ -82,6 +82,11 @@ class WeeklyDungeon(Dungeon):
|
||||
# Check daily
|
||||
if self.achieved_daily_quest:
|
||||
self.config.task_call('DailyQuest')
|
||||
# Update dashboard
|
||||
self.config.stored.EchoOfWar.add(-count)
|
||||
if self.config.stored.EchoOfWar.value < 0:
|
||||
logger.warning(f'Invalid EchoOfWar value, revise to 0')
|
||||
self.config.stored.EchoOfWar.value = 0
|
||||
# Finished all remains
|
||||
if count >= remain:
|
||||
logger.info('All Echo_of_War rewards got')
|
||||
|
Loading…
Reference in New Issue
Block a user