mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
Fix: Schedule dungeon behind rogue if immersifiers are full
This commit is contained in:
parent
3f7f0d019e
commit
61a941feea
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user