Skip to content

Commit

Permalink
fix:适配新版界面
Browse files Browse the repository at this point in the history
  • Loading branch information
overflow65537 committed Nov 7, 2024
1 parent 1711399 commit bbd092b
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 33 deletions.
8 changes: 7 additions & 1 deletion assets/resource/base/pipeline/幻痛囚笼.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@
],
"expected": "幻痛囚笼",
"next": [
"需要进行任务"
"需要进行任务",
"无需进行任务"
]
},
"无需进行任务": {
"next": [
"返回主菜单"
]
},
"需要进行任务": {
Expand Down
8 changes: 4 additions & 4 deletions assets/resource/base/pipeline/战斗.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@
"打开拟战场域": {
"recognition": "OCR",
"roi": [
280,
484,
108,
38
47,
465,
166,
75
],
"expected": "拟战场域",
"action": "Click"
Expand Down
22 changes: 0 additions & 22 deletions assets/resource/base/pipeline/指挥局.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,27 +160,5 @@
"返回",
"返回_图标"
]
},
"返回": {
"recognition": "OCR",
"roi": [
76,
18,
62,
34
],
"expected": "返回",
"action": "Click"
},
"返回_图标": {
"recognition": "TemplateMatch",
"roi": [
27,
10,
51,
53
],
"template": "指挥局\\返回.png",
"action": "Click"
}
}
29 changes: 27 additions & 2 deletions assets/resource/base/pipeline/通用任务.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
]
},
"返回主菜单": {
"pre_delay": 1000,
"post_delay": 1000,
"recognition": "OCR",
"roi": [
238,
Expand All @@ -34,7 +34,7 @@
]
},
"返回主菜单_图标": {
"pre_delay": 1000,
"post_delay": 1000,
"recognition": "OCR",
"roi": [
186,
Expand All @@ -55,6 +55,7 @@
]
},
"意外点击_主界面": {
"post_delay": 1000,
"recognition": "OCR",
"roi": [
758,
Expand All @@ -71,6 +72,30 @@
0
]
},
"返回": {
"post_delay": 1000,
"recognition": "OCR",
"roi": [
76,
18,
62,
34
],
"expected": "返回",
"action": "Click"
},
"返回_图标": {
"post_delay": 1000,
"recognition": "TemplateMatch",
"roi": [
27,
10,
51,
53
],
"template": "指挥局\\返回.png",
"action": "Click"
},
"返回主菜单_err": {
"next": [
"返回主菜单",
Expand Down
8 changes: 4 additions & 4 deletions assets/resource/base/pipeline/领取体力.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@
"post_wait_freezes": 500,
"recognition": "OCR",
"roi": [
599,
643,
100,
35
1073,
632,
162,
60
],
"expected": [
"免费",
Expand Down

0 comments on commit bbd092b

Please sign in to comment.