Skip to content

Commit

Permalink
perf: ActivityEnterTheShow改为EnterTheActivityMain并优化相关node
Browse files Browse the repository at this point in the history
  • Loading branch information
Windsland52 committed Dec 17, 2024
1 parent f3a9d6f commit b8b1c5c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 28 deletions.
4 changes: 2 additions & 2 deletions assets/interface.json
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@
{
"name": "活动:地球上最后的夜晚 20 艰难",
"pipeline_override": {
"ActivityEnterTheShow": {
"EnterTheActivityMain": {
"template": "Combat/Activity/TheLastEveningOnEarthEnterTheShow.png"
},
"TargetStageName": {
Expand All @@ -983,7 +983,7 @@
{
"name": "活动:东区黎明 19 艰难",
"pipeline_override": {
"ActivityEnterTheShow": {
"EnterTheActivityMain": {
"template": "Combat/Activity/LondonDawningEnterTheShow.png"
},
"TargetStageName": {
Expand Down
21 changes: 2 additions & 19 deletions assets/resource/base/pipeline/anecdote.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"next": [
"ActivityMainFlag",
"ActivityMainAnecdoteFlag",
"AnecdoteMainFlag",
"EnterTheActivityMain"
"AnecdoteMainFlag"
],
"interrupt": [
"EnterTheActivityMain",
"ActivityMainSelectAnecdote",
"ReturnMain"
]
Expand Down Expand Up @@ -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"
]
}
}
20 changes: 13 additions & 7 deletions assets/resource/base/pipeline/combat_activity.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"ActivityEntry": {
"next": [
"ActivityEnterTheShow"
"ActivityMainChapter"
],
"interrupt": [
"EnterTheActivityMain",
"ReturnMain"
]
},
"ActivityEnterTheShow": {
"EnterTheActivityMain": {
"doc": "进入当期活动主界面",
"recognition": "TemplateMatch",
"template_code": "Set in code",
"roi": [
Expand All @@ -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",
Expand Down

0 comments on commit b8b1c5c

Please sign in to comment.