Skip to content

Commit

Permalink
feat: 新增吃限时糖果,6-14 厄险(祝圣秘银) (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
a16797 authored Feb 22, 2024
1 parent 415ba48 commit 483b16c
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 0 deletions.
14 changes: 14 additions & 0 deletions assets/interface.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,20 @@
"option": {
"作战关卡": {
"cases": [
{
"name": "6-14 厄险(祝圣秘银)",
"param": {
"EnterTheShow": {
"next": "MainChapter_6"
},
"TargetStageName": {
"text": "14"
},
"StageDifficulty": {
"next": "StageDifficulty_Hard"
}
}
},
{
"name": "3-9 厄险(百灵百验鸟)",
"param": {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions assets/resource/base/pipeline/combat.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,25 @@
"action": "Click",
"next": "SwipeLeftAndFindStage"
},
"MainChapter_6": {
"doc": "主线第六章 今夜星光灿烂",
"next": [
"MainChapter_6Enter",
"Sub_SwipeLeftForChapter"
]
},
"MainChapter_6Enter": {
"recognition": "TemplateMatch",
"template": "Combat/MainChapter_6Enter.png",
"roi": [
0,
90,
1280,
460
],
"action": "Click",
"next": "SwipeLeftAndFindStage"
},
"Sub_ResourceChapterLabel": {
"is_sub": true,
"recognition": "TemplateMatch",
Expand Down
45 changes: 45 additions & 0 deletions assets/resource/base/pipeline/eat_candy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,25 @@
"EatCandyWithin24H": {
"enabled": false,
"next": [
"MiniCandy24H",
"SmallCandy24H",
"BigCandy24H",
"NotCandy24H"
]
},
"MiniCandy24H": {
"recognition": "OCR",
"text": "小时",
"roi": [
989,
212,
165,
200
],
"next": [
"EatMiniCandy24H"
]
},
"SmallCandy24H": {
"recognition": "OCR",
"text": "小时",
Expand Down Expand Up @@ -51,6 +65,21 @@
"Sub_StartUp"
]
},
"EatMiniCandy24H": {
"recognition": "TemplateMatch",
"template": "EatCandy/MiniCandy.png",
"roi": [
989,
212,
165,
200
],
"action": "Click",
"next": [
"EatCandyConfirm",
"MiniCandy24HNotEnough"
]
},
"EatSmallCandy24H": {
"recognition": "TemplateMatch",
"template": "EatCandy/SmallCandy.png",
Expand Down Expand Up @@ -96,6 +125,22 @@
"AllIn"
]
},
"MiniCandy24HNotEnough": {
"recognition": "OCR",
"text": "苦目软糖",
"roi": [
989,
212,
165,
200
],
"next": [
"SmallCandy24H",
"Sub_QuitEatCandyPage",
"HomeFlag",
"Sub_StartUp"
]
},
"SmallCandy24HNotEnough": {
"recognition": "OCR",
"text": "苦目糖果",
Expand Down

0 comments on commit 483b16c

Please sign in to comment.