Fix: Click interval on path entry

This commit is contained in:
LmeSzinc 2023-10-29 22:47:48 +08:00
parent 0af1805ddb
commit e2b3e0ac27
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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):