Skip to content

Commit

Permalink
修复无法开启无冠者
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Jul 17, 2024
1 parent fc1c7e6 commit 52b2f92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from src.task.FarmWorldBossTask import FarmWorldBossTask
from src.task.SkipDialogTask import AutoDialogTask

version = "v0.0.11"
version = "v3.0.11"


def calculate_pc_exe_path(running_path):
Expand Down Expand Up @@ -54,6 +54,8 @@ def calculate_pc_exe_path(running_path):
<p>GitHub <a href="https://github.com/ok-oldking/ok-wuthering-waves">https://github.com/ok-oldking/ok-wuthering-waves</></p>
<p>Report a BUG <a href="https://github.com/ok-oldking/ok-wuthering-waves/issues/new?assignees=ok-oldking&labels=bug&projects=&template=%E6%8A%A5%E5%91%8Abug-.md&title=%5BBUG%5D">https://github.com/ok-oldking/ok-wuthering-waves/issues/new?assignees=ok-oldking&labels=bug&projects=&template=%E6%8A%A5%E5%91%8Abug-.md&title=%5BBUG%5D</></p>
<p>QQ群:<a href="https://qm.qq.com/q/qMezq2IDGU">970523295</a></p>
<p>QQ频道:<a href="https://pd.qq.com/s/75758wrmp">OK-WW</a></p>
<p>本软件免费, 如果你被收费请立即退款, 请到QQ频道或者GitHub下载最新官方版</p>
""",
'supported_screen_ratio': '16:9',
'screenshots_folder': "screenshots",
Expand Down
3 changes: 3 additions & 0 deletions src/task/FarmWorldBossTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ def run(self):
self.teleport(boss_name)
logger.info(f'farm echo combat once start')
if boss_name == 'Crownless':
self.wait_in_team_and_world(time_out=20)
self.sleep(2)
logger.info('Crownless walk to f')
self.walk_until_f(raise_if_not_found=True, time_out=4, backward_time=1)
self.combat_once()
logger.info(f'farm echo combat end')
Expand Down

0 comments on commit 52b2f92

Please sign in to comment.