Skip to content

Commit

Permalink
增加下载源, 修复启动器深色浅色主题显示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Sep 12, 2024
1 parent d0fc144 commit 2901a29
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
13 changes: 11 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,20 @@ def calculate_pc_exe_path(running_path):
'name': 'Global',
'git_url': 'https://github.com/ok-oldking/ok-wuthering-waves',
'pip_url': 'https://pypi.org/simple/'
}, {
'name': '清华大学',
'git_url': 'https://gitee.com/ok-olding/ok-wuthering-waves',
'pip_url': 'https://pypi.tuna.tsinghua.edu.cn/simple'
}, {
'name': 'China',
'git_url': 'https://gitee.com/ok-olding/ok-wuthering-waves',
'pip_url': 'https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple'
}]},
'pip_url': 'https://mirrors.cloud.tencent.com/pypi/simple'
}, {
'name': '阿里云',
'git_url': 'https://gitee.com/ok-olding/ok-wuthering-waves',
'pip_url': 'https://mirrors.aliyun.com/pypi/simple'
},
]},
'about': """
<h3>OK-WW</h3>
<p>GitHub <a href="https://github.com/ok-oldking/ok-wuthering-waves">https://github.com/ok-oldking/ok-wuthering-waves</></p>
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ok-script==0.0.244
ok-script==0.0.245
#rapidocr_onnxruntime
rapidocr_openvino
pySide6-Fluent-Widgets>=1.5.5
Expand Down
4 changes: 2 additions & 2 deletions src/task/FarmWorldBossTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ def teleport_to_boss(self, boss_name):
self.wait_in_team_and_world(time_out=120)

def click_fast_travel(self):
travel = self.wait_feature('fast_travel_custom', raise_if_not_found=True, threshold=0.75)
travel = self.wait_feature('fast_travel_custom', raise_if_not_found=True, threshold=0.6)
self.click_box(travel, relative_x=1.5)

def wait_book(self):
gray_book_boss = self.wait_until(
lambda: self.find_one('gray_book_boss', vertical_variance=0.8, horizontal_variance=0.05,
threshold=0.7, canny_lower=50,
threshold=0.6, canny_lower=50,
canny_higher=150) or self.find_one(
'gray_book_boss_highlight',
vertical_variance=1, horizontal_variance=0.05,
Expand Down

0 comments on commit 2901a29

Please sign in to comment.