Skip to content

Commit

Permalink
perf: 增强轶事派遣稳定性
Browse files Browse the repository at this point in the history
  • Loading branch information
Windsland52 committed Dec 13, 2024
1 parent 497b43a commit 08a174e
Showing 1 changed file with 78 additions and 7 deletions.
85 changes: 78 additions & 7 deletions assets/resource/base/pipeline/anecdote.json
Original file line number Diff line number Diff line change
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 Down Expand Up @@ -580,6 +606,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 +656,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 08a174e

Please sign in to comment.