Fix: Rename keyword in dungeon

This commit is contained in:
X-Zero-L 2023-12-27 13:15:45 +08:00
parent 6bd7209464
commit 523bc0f44c

View File

@ -268,8 +268,8 @@ class Dungeon(DungeonStamina, DungeonEvent, Combat):
with self.config.multi_set():
# Check battle pass
quests = self.config.stored.BattlePassTodayQuest.load_quests()
if KEYWORD_BATTLE_PASS_QUEST.Consume_1_Trailblaze_Power in quests:
logger.info('Probably achieved battle pass quest Consume_1_Trailblaze_Power')
if KEYWORD_BATTLE_PASS_QUEST.Consume_a_total_of_1_Trailblaze_Power_1400_Trailblazer_Power_max in quests:
logger.info('Probably achieved battle pass quest Consume_a_total_of_1_Trailblaze_Power_1400_Trailblazer_Power_max')
if self.config.stored.BattlePassLevel.is_full():
logger.info('BattlePassLevel full, no task call')
else: