Skip to content

Commit

Permalink
Merge pull request #407 from Avabowler/main
Browse files Browse the repository at this point in the history
fix  末日幻影快速挑战提示框无法识别并跳过
  • Loading branch information
moesnow authored Dec 10, 2024
2 parents 5341696 + df95445 commit a64bf6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/Fhoe-Rail
6 changes: 5 additions & 1 deletion tasks/challenge/apocalyptic.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,12 @@ def start_challenges(self):
if not self.start_challenge(level):
log.error(f"第{level}层挑战失败")
break

time.sleep(3)
if auto.find_element("3星通关所有", 'text', include=True):
auto.click_element("确认", 'text', max_retries=10, include=True)
auto.press_key("esc")
time.sleep(2)

screen.wait_for_screen_change('apocalyptic')

def find_level(self, level, max_retries=4):
Expand Down

0 comments on commit a64bf6e

Please sign in to comment.