mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: Handle character switch popup during rogue tp
This commit is contained in:
parent
28af865d75
commit
b2015a6909
@ -323,8 +323,13 @@ class RogueEntry(RouteBase, RogueRewardHandler, RoguePathHandler, DungeonUI):
|
||||
if self.ui_page_appear(page_rogue):
|
||||
break
|
||||
|
||||
# Additional
|
||||
if self.appear_then_click(REWARD_CLOSE, interval=2):
|
||||
continue
|
||||
# Popup that confirm character switch
|
||||
if self.handle_popup_confirm():
|
||||
continue
|
||||
# Click
|
||||
if self.appear(page_guide.check_button, interval=2):
|
||||
buttons = TELEPORT.match_multi_template(self.device.image)
|
||||
if len(buttons):
|
||||
|
Loading…
Reference in New Issue
Block a user