mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-25 18:05:26 +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()
|
self.immersifier_store()
|
||||||
with self.config.multi_set():
|
with self.config.multi_set():
|
||||||
if self.config.stored.Immersifier.value >= 4:
|
if self.config.stored.Immersifier.value >= 4:
|
||||||
|
# Schedule behind rogue
|
||||||
|
self.config.task_delay(minute=5)
|
||||||
self.config.task_call('Rogue')
|
self.config.task_call('Rogue')
|
||||||
self.delay_dungeon_task(KEYWORDS_DUNGEON_LIST.Simulated_Universe_World_1)
|
self.delay_dungeon_task(KEYWORDS_DUNGEON_LIST.Simulated_Universe_World_1)
|
||||||
else:
|
else:
|
||||||
|
@ -126,6 +126,9 @@ class DungeonStamina(DungeonUI):
|
|||||||
"""
|
"""
|
||||||
Store immersifiers using all trailblaze power
|
Store immersifiers using all trailblaze power
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
bool: If stored any
|
||||||
|
|
||||||
Pages:
|
Pages:
|
||||||
in: Any
|
in: Any
|
||||||
out: page_guide, Survival_Index, Simulated_Universe
|
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_amount_set(amount, ocr_button=OCR_IMMERSIFIER_AMOUNT)
|
||||||
self._item_confirm()
|
self._item_confirm()
|
||||||
self.dungeon_update_stamina()
|
self.dungeon_update_stamina()
|
||||||
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user