Skip to content

Commit

Permalink
perf: 增强轶事派遣稳定性
Browse files Browse the repository at this point in the history
fix: 扩大轶事追溯判断范围
  • Loading branch information
Windsland52 committed Dec 13, 2024
1 parent 497b43a commit 40bdbe1
Showing 1 changed file with 94 additions and 20 deletions.
114 changes: 94 additions & 20 deletions assets/resource/base/pipeline/anecdote.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@
"threshold": 0.6,
"roi": [
50,
173,
117,
1230,
418
474
],
"next": [
"AnecdoteTaskAwardCompleted"
Expand All @@ -181,9 +181,9 @@
"inverse": true,
"roi": [
50,
173,
117,
1230,
418
474
],
"next": [
"AnecdoteNoFusingBox",
Expand All @@ -209,9 +209,9 @@
"order_by": "Score",
"roi": [
50,
173,
117,
1230,
418
474
],
"action": "Click",
"next": [
Expand Down Expand Up @@ -247,7 +247,24 @@
0,
0
],
"action": "Click"
"action": "Click",
"next": [
"AnecdoteTaskAwardMainCompleted",
"AnecdoteTraceFlag2"
]
},
"AnecdoteTraceFlag2": {
"recognition": "TemplateMatch",
"template": [
"StartUp/HomeButton.png",
"StartUp/HomeButton_White.png"
],
"roi": [
70,
0,
144,
144
]
},
"AnecdoteTaskAwardMainConfirm": {
"doc": "确认轶事追溯任务奖励",
Expand All @@ -260,7 +277,16 @@
31
],
"only_rec": true,
"action": "Click"
"action": "Click",
"post_wait_freezes": {
"time": 300,
"target": [
832,
613,
89,
80
]
}
},
"AnecdoteTaskCompleted_1": {
"doc": "当前界面已无轶事追溯任务,向左滑后再次检查",
Expand All @@ -270,9 +296,9 @@
],
"roi": [
50,
173,
117,
1230,
418
474
],
"inverse": true,
"action": "Swipe",
Expand Down Expand Up @@ -304,9 +330,9 @@
],
"roi": [
50,
173,
117,
1230,
418
474
],
"inverse": true,
"next": [
Expand Down Expand Up @@ -336,7 +362,10 @@
12
],
"count": 50,
"inverse": true
"inverse": true,
"next": [
"HomeButton"
]
},
"AnecdoteAccumulatedRewardExist": {
"doc": "检查有积分累计奖励",
Expand Down Expand Up @@ -369,9 +398,9 @@
"template": "./Anecdote/TaskEntry.png",
"roi": [
50,
173,
117,
1230,
418
474
],
"action": "Click",
"next": [
Expand Down Expand Up @@ -580,6 +609,32 @@
"action": "Click"
},
"AnecdoteCompleted": {
"doc": "追溯右上角无红点",
"recognition": "ColorMatch",
"lower": [
160,
25,
15
],
"upper": [
210,
75,
75
],
"roi": [
1145,
481,
16,
15
],
"count": 100,
"inverse": true,
"next": [
"AnecdoteTaskExist",
"AnecdoteCompleted_NoNext"
]
},
"AnecdoteCompleted_NoNext": {
"doc": "追溯右上角无红点",
"recognition": "ColorMatch",
"lower": [
Expand All @@ -604,15 +659,34 @@
"AnecdoteNotRead": {
"doc": "尚未阅读完故事,任务结束",
"recognition": "OCR",
"expected": "已完成",
"expected": "剧情进度",
"roi": [
500,
531,
55,
23
530,
72,
24
],
"only_rec": true,
"inverse": true
"next": [
"AnecdoteTaskExist",
"AnecdoteCompleted"
],
"interrupt": [
"AnecdoteTryAward",
"ObtainedAwards"
]
},
"AnecdoteTryAward": {
"recognition": "OCR",
"expected": "7/7",
"roi": [
618,
530,
43,
25
],
"action": "Click",
"post_wait_freezes": 300
},
"ActivityMainSelectAnecdote": {
"recognition": "OCR",
Expand Down

0 comments on commit 40bdbe1

Please sign in to comment.