mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Add: Do weekly for planner
This commit is contained in:
parent
d615886993
commit
8cd2b90346
@ -51,6 +51,10 @@ class WeeklyDungeon(Dungeon):
|
||||
self.weekly_quests = self.config.stored.BattlePassWeeklyQuest.load_quests()
|
||||
|
||||
dungeon = DungeonList.find(self.config.Weekly_Name)
|
||||
planner = self.planner.get_weekly()
|
||||
if planner is not None:
|
||||
dungeon = planner
|
||||
logger.info('DungeonWeekly', dungeon)
|
||||
|
||||
# UI switches
|
||||
self.dungeon_tab_goto(KEYWORDS_DUNGEON_TAB.Survival_Index)
|
||||
|
@ -439,10 +439,10 @@ class PlannerProgressParser:
|
||||
if dungeon is None:
|
||||
logger.error(f'Item {item} has nowhere to be farmed')
|
||||
continue
|
||||
logger.info(f'Planner farm: {dungeon}')
|
||||
logger.info(f'Planner weekly farm: {dungeon}')
|
||||
return dungeon
|
||||
|
||||
logger.info('Planner farm empty')
|
||||
logger.info('Planner weekly farm empty')
|
||||
return None
|
||||
|
||||
def row_come_from_dungeon(self, dungeon: DungeonList | None) -> StoredPlannerProxy | None:
|
||||
|
Loading…
Reference in New Issue
Block a user