Skip to content

Commit 9023759

Browse files
committed
feat(WitchDivination): 调整点击前往魔女之家按钮鬼畜问题
1 parent 908ada3 commit 9023759

1 file changed

Lines changed: 27 additions & 13 deletions

File tree

assets/resource/base/pipeline/WitchDivination/WitchDivination.json

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"target": true // 先移动鼠标到匹配位置,避免直接点击触发滑动
118118
}
119119
},
120-
"post_delay": 1000,
120+
"post_delay": 500,
121121
"next": [
122122
"WitchDivinationClickWitchHouse"
123123
],
@@ -127,22 +127,36 @@
127127
},
128128
"WitchDivinationClickWitchHouse": {
129129
"desc": "在「魔女之家」位置执行点击",
130-
"recognition": {
131-
"type": "OCR",
130+
// "recognition": {
131+
// "type": "OCR",
132+
// "param": {
133+
// "roi": [
134+
// 893,
135+
// 120,
136+
// 367,
137+
// 533
138+
// ],
139+
// "expected": [
140+
// "魔女之家"
141+
// ]
142+
// }
143+
// },
144+
"action": {
145+
"type": "TouchDown",
132146
"param": {
133-
"roi": [
134-
893,
135-
120,
136-
367,
137-
533
138-
],
139-
"expected": [
140-
"魔女之家"
141-
]
147+
"target": "WitchDivinationMoveToWitchHouse" // 鼠标已在目标位置,直接点击
142148
}
143149
},
150+
"post_wait_freezes": 500, // 点击后等待全屏稳定
151+
"next": [
152+
"WitchDivinationClickWitchHouse2",
153+
"WitchDivinationCheckTodayGuide"
154+
]
155+
},
156+
"WitchDivinationClickWitchHouse2": {
157+
"desc": "在「魔女之家」位置执行点击",
144158
"action": {
145-
"type": "Click",
159+
"type": "TouchUp",
146160
"param": {
147161
"target": "WitchDivinationMoveToWitchHouse" // 鼠标已在目标位置,直接点击
148162
}

0 commit comments

Comments
 (0)