From cbb8cb0cce96c41cdfbb81c8906f6a9708c5cd19 Mon Sep 17 00:00:00 2001 From: Dissectum <124477333+Dissectum@users.noreply.github.com> Date: Wed, 13 Sep 2023 20:02:43 +0800 Subject: [PATCH] fix (Notice): "The opponent's rank has changed." in TacticalChallenge --- .../Base/pipeline/TacticalChallenge.json | 16 ++++++++++++++-- assets/Resource/EN/pipeline/OCRPartialTasks.json | 9 ++++++++- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/assets/Resource/Base/pipeline/TacticalChallenge.json b/assets/Resource/Base/pipeline/TacticalChallenge.json index 644d333..50dfad8 100644 --- a/assets/Resource/Base/pipeline/TacticalChallenge.json +++ b/assets/Resource/Base/pipeline/TacticalChallenge.json @@ -140,6 +140,7 @@ "next": [ "Sub_Wait_NowLoading_Partial", "Notice_TimedOut_Partial", + "Notice_RankChanged_Partial", "Notice_Standby_Partial", "Sub_Click_PassButton", "Click_ConfirmButton_OnBattleComplete_Partial", @@ -166,7 +167,18 @@ "Notice_TimedOut_Partial": { "recognition": "OCR", "text": "List refresh timed out.", - "roi": [ 458, 268, 366, 131 ], + "roi": [ 360, 135, 560, 440 ], + "target": [ 537, 467, 204, 69 ], + "action": "Click", + "next": [ + "Sub_Wait_NowLoading_Partial", + "Click_RankByTheFront_Partial" + ] + }, + "Notice_RankChanged_Partial": { + "recognition": "OCR", + "text": "RankChanged", + "roi": [ 360, 135, 560, 440 ], "target": [ 537, 467, 204, 69 ], "action": "Click", "next": [ @@ -177,7 +189,7 @@ "Notice_Standby_Partial": { "recognition": "OCR", "text": "Standby", - "roi": [ 394, 171, 492, 366 ], + "roi": [ 360, 135, 560, 440 ], "target": [ 531, 431, 217, 71 ], "action": "Click", "post_delay": 50000, diff --git a/assets/Resource/EN/pipeline/OCRPartialTasks.json b/assets/Resource/EN/pipeline/OCRPartialTasks.json index af53d75..fd31dca 100644 --- a/assets/Resource/EN/pipeline/OCRPartialTasks.json +++ b/assets/Resource/EN/pipeline/OCRPartialTasks.json @@ -63,6 +63,13 @@ "timedout" ] }, + "Notice_RankChanged_Partial": { + "text": [ + "The opponent's rank has changed.", + "rank has changed", + "has changed" + ] + }, "Notice_Standby_Partial": { "text": [ "Standby" @@ -95,7 +102,7 @@ ] }, - + "Sub_Goto_Club_Partial": { "text": [ "Club Lobby",