From b8b1c5caf1ada040e60321bd524200f17f5408d8 Mon Sep 17 00:00:00 2001 From: Windsland52 <86581225+Windsland52@users.noreply.github.com> Date: Tue, 17 Dec 2024 23:02:49 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20`ActivityEnterTheShow`=E6=94=B9?= =?UTF-8?q?=E4=B8=BA`EnterTheActivityMain`=E5=B9=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=9B=B8=E5=85=B3node?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/interface.json | 4 ++-- assets/resource/base/pipeline/anecdote.json | 21 ++----------------- .../base/pipeline/combat_activity.json | 20 +++++++++++------- 3 files changed, 17 insertions(+), 28 deletions(-) diff --git a/assets/interface.json b/assets/interface.json index f2bc5192..f1934d15 100644 --- a/assets/interface.json +++ b/assets/interface.json @@ -969,7 +969,7 @@ { "name": "活动:地球上最后的夜晚 20 艰难", "pipeline_override": { - "ActivityEnterTheShow": { + "EnterTheActivityMain": { "template": "Combat/Activity/TheLastEveningOnEarthEnterTheShow.png" }, "TargetStageName": { @@ -983,7 +983,7 @@ { "name": "活动:东区黎明 19 艰难", "pipeline_override": { - "ActivityEnterTheShow": { + "EnterTheActivityMain": { "template": "Combat/Activity/LondonDawningEnterTheShow.png" }, "TargetStageName": { diff --git a/assets/resource/base/pipeline/anecdote.json b/assets/resource/base/pipeline/anecdote.json index e8691b5d..37ea3bb5 100644 --- a/assets/resource/base/pipeline/anecdote.json +++ b/assets/resource/base/pipeline/anecdote.json @@ -4,10 +4,10 @@ "next": [ "ActivityMainFlag", "ActivityMainAnecdoteFlag", - "AnecdoteMainFlag", - "EnterTheActivityMain" + "AnecdoteMainFlag" ], "interrupt": [ + "EnterTheActivityMain", "ActivityMainSelectAnecdote", "ReturnMain" ] @@ -731,22 +731,5 @@ 626 ], "action": "Click" - }, - "EnterTheActivityMain": { - "doc": "进入当期活动主界面", - "template_code": "在interface.json中修改template", - "recognition": "TemplateMatch", - "roi": [ - 885, - 123, - 340, - 183 - ], - "action": "Click", - "post_wait_freezes": 300, - "next": [ - "ActivityMainFlag", - "EnterTheActivityMain" - ] } } \ No newline at end of file diff --git a/assets/resource/base/pipeline/combat_activity.json b/assets/resource/base/pipeline/combat_activity.json index c97638eb..e78a484d 100644 --- a/assets/resource/base/pipeline/combat_activity.json +++ b/assets/resource/base/pipeline/combat_activity.json @@ -1,13 +1,15 @@ { "ActivityEntry": { "next": [ - "ActivityEnterTheShow" + "ActivityMainChapter" ], "interrupt": [ + "EnterTheActivityMain", "ReturnMain" ] }, - "ActivityEnterTheShow": { + "EnterTheActivityMain": { + "doc": "进入当期活动主界面", "recognition": "TemplateMatch", "template_code": "Set in code", "roi": [ @@ -17,11 +19,15 @@ 183 ], "action": "Click", - "post_wait_freezes": 1, - "next": [ - "ActivityMainChapter", - "ActivityEnterTheShow" - ] + "post_wait_freezes": { + "time": 500, + "target": [ + 0, + 179, + 190, + 541 + ] + } }, "ActivityMainChapter": { "recognition": "OCR",