From f512bfdfcd7d3282bca4b8d686803fcf88e35d6f Mon Sep 17 00:00:00 2001 From: uye <99072975+ABA2396@users.noreply.github.com> Date: Tue, 5 Sep 2023 21:52:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=20SideStory=E3=80=8C?= =?UTF-8?q?=E4=B8=8D=E4=B9=89=E4=B9=8B=E8=B4=A2=E3=80=8D=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?=E5=AF=BC=E8=88=AA=20&=20=E6=B7=BB=E5=8A=A0=20"SideStoryStage"?= =?UTF-8?q?=20=E6=A8=A1=E6=9D=BF=20roi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/tasks.json | 169 ++++++++++++++++++++++++++++++++------------ 1 file changed, 123 insertions(+), 46 deletions(-) diff --git a/resource/tasks.json b/resource/tasks.json index dee2ea7071..c0fe963ce2 100644 --- a/resource/tasks.json +++ b/resource/tasks.json @@ -869,6 +869,94 @@ "-1O$", "-10$" ] + ], + "roi": [ + 0, + 60, + 1280, + 550 + ] + }, + "CV-8": { + "algorithm": "JustReturn", + "sub": [ + "CV-Open" + ], + "next": [ + "CV-8@SideStoryStage", + "CV-8@SwipeToStage" + ] + }, + "CV-7": { + "algorithm": "JustReturn", + "sub": [ + "CV-Open" + ], + "next": [ + "CV-7@SideStoryStage", + "CV-7@SwipeToStage" + ] + }, + "CV-6": { + "algorithm": "JustReturn", + "sub": [ + "CV-Open" + ], + "next": [ + "CV-6@SideStoryStage", + "CV-6@SwipeToStage" + ] + }, + "CV-Open": { + "action": "ClickSelf", + "algorithm": "OcrDetect", + "text": [ + "不义之财", + "已开放" + ], + "postDelay": 2000, + "roi": [ + 0, + 500, + 500, + 150 + ], + "next": [ + "CVChapterToCV" + ] + }, + "CVChapterToCV": { + "algorithm": "OcrDetect", + "action": "ClickSelf", + "cache": false, + "text": [ + "苍白", + "平台" + ], + "preDelay": 1000, + "roi": [ + 1092, + 438, + 118, + 36 + ], + "next": [ + "ChapterSwipeToTheRight" + ] + }, + "CV-8@SideStoryStage": { + "text": [ + "CV-8" + ] + }, + "CV-7@SideStoryStage": { + "text": [ + "CV-7" + ] + }, + "CV-6@SideStoryStage": { + "text": [ + "CV-6" ] }, "SL-8": { @@ -943,34 +1031,16 @@ "SL-8@SideStoryStage": { "text": [ "SL-8" - ], - "roi": [ - 0, - 60, - 1280, - 550 ] }, "SL-7@SideStoryStage": { "text": [ "SL-7" - ], - "roi": [ - 0, - 60, - 1280, - 550 ] }, "SL-6@SideStoryStage": { "text": [ "SL-6" - ], - "roi": [ - 0, - 60, - 1280, - 550 ] }, "HE-8": { @@ -1044,34 +1114,16 @@ "HE-8@SideStoryStage": { "text": [ "HE-8" - ], - "roi": [ - 0, - 60, - 1280, - 550 ] }, "HE-7@SideStoryStage": { "text": [ "HE-7" - ], - "roi": [ - 0, - 60, - 1280, - 550 ] }, "HE-6@SideStoryStage": { "text": [ "HE-6" - ], - "roi": [ - 0, - 60, - 1280, - 550 ] }, "CW-10": { @@ -3564,7 +3616,7 @@ ], "ocrReplace": [ [ - "\\|", + "\\|", "/" ], [ @@ -7848,7 +7900,9 @@ "algorithm": "OcrDetect", "action": "ClickSelf", "postDelay": 500, - "text": [ "选择" ], + "text": [ + "选择" + ], "roi": [ 1064, 294, @@ -7856,7 +7910,6 @@ 170 ] }, - "Roguelike@ChooseOper": { "Doc": "本任务注册了插件 RoguelikeRecruitTaskPlugin", "algorithm": "JustReturn", @@ -8566,7 +8619,9 @@ "Roguelike@LevelName_normal_mode": { "algorithm": "OcrDetect", "cache": false, - "text": [ "随便写点什么防止卡住,Leave some words here to avoid stucking" ], + "text": [ + "随便写点什么防止卡住,Leave some words here to avoid stucking" + ], "roi": [ 593, 0, @@ -9912,7 +9967,9 @@ "Mizuki@Roguelike@ChooseDifficultyConfirm": { "algorithm": "OcrDetect", "action": "ClickSelf", - "text": [ "选择" ], + "text": [ + "选择" + ], "roi": [ 1064, 294, @@ -9922,7 +9979,12 @@ }, "Mizuki@Roguelike@ChooseDifficulty_Easiest": { "action": "ClickRect", - "specificRect": [ 1144, 472, 78, 24 ], + "specificRect": [ + 1144, + 472, + 78, + 24 + ], "postDelay": 500, "template": "Mizuki@Roguelike@StartExplore.png", "roi": [ @@ -9937,7 +9999,12 @@ }, "Mizuki@Roguelike@ChooseDifficulty_Hardest": { "action": "ClickRect", - "specificRect": [ 1144, 472, 78, 24 ], + "specificRect": [ + 1144, + 472, + 78, + 24 + ], "postDelay": 500, "template": "Mizuki@Roguelike@StartExplore.png", "roi": [ @@ -10509,7 +10576,12 @@ }, "Sami@Roguelike@ChooseDifficulty_Easiest": { "action": "ClickRect", - "specificRect": [ 1119, 479, 80, 22 ], + "specificRect": [ + 1119, + 479, + 80, + 22 + ], "postDelay": 500, "template": "Sami@Roguelike@StartExplore.png", "roi": [ @@ -10524,7 +10596,12 @@ }, "Sami@Roguelike@ChooseDifficulty_Hardest": { "action": "ClickRect", - "specificRect": [ 1119, 479, 80, 22 ], + "specificRect": [ + 1119, + 479, + 80, + 22 + ], "postDelay": 500, "template": "Sami@Roguelike@StartExplore.png", "roi": [ @@ -14282,4 +14359,4 @@ ], "postDelay": 2000 } -} +} \ No newline at end of file