From 4c2c644bfa4448c72391099d791ae0f6e36e78e8 Mon Sep 17 00:00:00 2001 From: David <56174894+Constrat@users.noreply.github.com> Date: Wed, 2 Aug 2023 11:26:34 +0200 Subject: [PATCH] refactor: from ba75736 Manual Stage navigation EN The reason I had to do the first commit is because the "baseTask" wasn't working properly, so I copied the inheritor, and now it's working as intended. --- resource/global/YoStarEN/resource/tasks.json | 14 ++++++++++++++ resource/tasks.json | 9 ++++----- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/resource/global/YoStarEN/resource/tasks.json b/resource/global/YoStarEN/resource/tasks.json index 301eebfa9e..c877fe50aa 100644 --- a/resource/global/YoStarEN/resource/tasks.json +++ b/resource/global/YoStarEN/resource/tasks.json @@ -5030,6 +5030,20 @@ "Heart of Surging Flame" ] }, + "ClickedCorrectStageOrSwipe": { + "baseTask": "StartButton1", + "action": "DoNothing", + "reduceOtherTimes": [], + "next": [ + "ClickedCorrectStage", + "FullStageNavigation" + ] + }, + "StartButton1": { + "text": [ + "Start" + ] + }, "StartRecruit": { "text": [ "Recruit Now" diff --git a/resource/tasks.json b/resource/tasks.json index e34c232e00..5257fd29e2 100644 --- a/resource/tasks.json +++ b/resource/tasks.json @@ -3132,17 +3132,16 @@ "algorithm": "OcrDetect", "action": "ClickSelf", "text": [ - "Start", "开始行动" ], "cache": false, "preDelay": 500, "postDelay": 1000, "roi": [ - 1000, - 600, - 280, - 120 + 1038, + 640, + 206, + 46 ], "exceededNext": [ "StageSNReturnFlag",