Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 活动推图探索模式 #152

Merged
merged 4 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions assets/interface.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
"name": "当期活动推图",
"entry": "FloorItToTheGoldenCity_StagePromotion",
"option": [
"模式选择",
"体力不够自动吃糖"
]
},
Expand Down Expand Up @@ -788,6 +789,26 @@
}
}
]
},
"模式选择": {
"cases": [
{
"name": "故事模式",
"param": {
"ActivityStageDifficultySellect": {
"next": "ActivityStageDifficulty_Story"
}
}
},
{
"name": "探索模式",
"param": {
"ActivityStageDifficultySellect": {
"next": "ActivityStageDifficulty_Explore"
}
}
}
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
],
"action": "Click",
"next": [
"StagePromotion_SwipeRightAndFindStage"
"ActivityStageDifficultySellect"
]
}
}
}
34 changes: 34 additions & 0 deletions assets/resource/base/pipeline/activity/StagePromotion.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,38 @@
{
"ActivityStageDifficultySellect": {
},
"ActivityStageDifficulty_Story": {
"recognition": "OCR",
"expected": [
"故事模式"
],
"roi": [
14,
90,
244,
143
],
"action": "Click",
"next": [
"StagePromotion_SwipeRightAndFindStage"
]
},
"ActivityStageDifficulty_Explore": {
"recognition": "OCR",
"expected": [
"探索模式"
],
"roi": [
14,
200,
244,
143
],
"action": "Click",
"next": [
"StagePromotion_SwipeRightAndFindStage"
]
},
"StagePromotion_SwipeRightAndFindStage": {
"next": [
"StagePromotion_NextStage2",
Expand Down
Loading