mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-25 10:01:10 +00:00
Fix: Click interval on path entry
This commit is contained in:
parent
0af1805ddb
commit
e2b3e0ac27
@ -145,7 +145,7 @@ class RogueEntry(DungeonUI, RogueRewardHandler, RoguePathHandler):
|
|||||||
logger.info('At is_page_rogue_launch()')
|
logger.info('At is_page_rogue_launch()')
|
||||||
break
|
break
|
||||||
if self.is_in_main():
|
if self.is_in_main():
|
||||||
logger.info('At is_page_rogue_launch()')
|
logger.info('At is_in_main()')
|
||||||
break
|
break
|
||||||
|
|
||||||
# Click
|
# Click
|
||||||
|
@ -138,7 +138,7 @@ class RoguePathHandler(RogueUI):
|
|||||||
continue
|
continue
|
||||||
# Select path
|
# Select path
|
||||||
if self.interval_is_reached(entry, interval=2) and self._is_page_rogue_path():
|
if self.interval_is_reached(entry, interval=2) and self._is_page_rogue_path():
|
||||||
if self.appear_then_click(entry):
|
if self.appear_then_click(entry, interval=2):
|
||||||
self.interval_reset(entry, interval=2)
|
self.interval_reset(entry, interval=2)
|
||||||
# Confirm path
|
# Confirm path
|
||||||
if self.appear(CONFIRM_PATH, interval=2):
|
if self.appear(CONFIRM_PATH, interval=2):
|
||||||
|
Loading…
Reference in New Issue
Block a user