Skip to content

Commit 3f5ad56

Browse files
authored
chore(js): 调整找图阈值 (#2737)
1 parent 0f354ef commit 3f5ad56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

repo/js/MiliastraExperiencePlayback/libs/constants/regions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const findElementViewBtn = () => {
5454
const findBeyondHallBtn = () => {
5555
const iro = findImageWithinBounds("assets/UI_BtnIcon_Beyond_Hall.png", 200, 0, 150, 100, {
5656
useMask: true,
57-
threshold: 0.8,
57+
threshold: 0.75,
5858
});
5959
iro?.drawSelf("group_img");
6060
return iro;
@@ -188,7 +188,7 @@ const findGotTeyvatBtn = () => {
188188
const findBeyondBattlepassBtn = () => {
189189
const iro = findImageWithinBounds("assets/UI_BtnIcon_Beyond_Battlepass.png", 960, 0, 960, 80, {
190190
useMask: true,
191-
threshold: 0.8,
191+
threshold: 0.75,
192192
});
193193
iro?.drawSelf("group_img");
194194
return iro;

repo/js/MiliastraExperiencePlayback/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 1,
33
"name": "千星奇域·每周经验刷取(回放通关版)",
4-
"version": "0.1.10",
4+
"version": "0.1.11",
55
"bgi_version": "0.54.0",
66
"description": "千星奇域·每周经验刷取(回放通关版)",
77
"authors": [

0 commit comments

Comments
 (0)