diff --git a/assets/resource/base/pipeline/anecdote.json b/assets/resource/base/pipeline/anecdote.json index f442628..17193c0 100644 --- a/assets/resource/base/pipeline/anecdote.json +++ b/assets/resource/base/pipeline/anecdote.json @@ -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": "确认轶事追溯任务奖励", @@ -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": "当前界面已无轶事追溯任务,向左滑后再次检查", @@ -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": [ @@ -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",