Fix: Schedule dungeon behind rogue if immersifiers are full

This commit is contained in:
LmeSzinc 2023-12-09 22:41:00 +08:00
parent 3f7f0d019e
commit 61a941feea
2 changed files with 6 additions and 0 deletions

View File

@ -254,6 +254,8 @@ class Dungeon(DungeonStamina, DungeonEvent, Combat):
self.immersifier_store()
with self.config.multi_set():
if self.config.stored.Immersifier.value >= 4:
# Schedule behind rogue
self.config.task_delay(minute=5)
self.config.task_call('Rogue')
self.delay_dungeon_task(KEYWORDS_DUNGEON_LIST.Simulated_Universe_World_1)
else:

View File

@ -126,6 +126,9 @@ class DungeonStamina(DungeonUI):
"""
Store immersifiers using all trailblaze power
Returns:
bool: If stored any
Pages:
in: Any
out: page_guide, Survival_Index, Simulated_Universe
@ -149,3 +152,4 @@ class DungeonStamina(DungeonUI):
self._item_amount_set(amount, ocr_button=OCR_IMMERSIFIER_AMOUNT)
self._item_confirm()
self.dungeon_update_stamina()
return True