Skip to content

Commit

Permalink
feat: 启动游戏添加领取独一律
Browse files Browse the repository at this point in the history
  • Loading branch information
Windsland52 committed Nov 25, 2024
1 parent 9027d6b commit 68dc658
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 8 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
99 changes: 91 additions & 8 deletions assets/resource/base/pipeline/startup.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"AccumulatedSignIn",
"BirthdayReward",
"Reward",
"CloseDuringFestivalDipaRewardPage",
"Item-140001Reward",
"CloseRewardPage",
"Download",
"BackButton",
"HomeButton",
Expand All @@ -34,7 +35,7 @@
"AccumulatedSignIn",
"BirthdayReward",
"Reward",
"CloseDuringFestivalDipaRewardPage",
"CloseRewardPage",
"Stop"
]
},
Expand Down Expand Up @@ -133,7 +134,8 @@
"BirthdayReward",
"CloseAnnouncement",
"Reward",
"CloseDuringFestivalDipaRewardPage",
"Item-140001Reward",
"CloseRewardPage",
"BackButton"
]
},
Expand All @@ -157,7 +159,37 @@
364,
152
],
"pre_wait_freezes": 1000
"action": "Click",
"next": [
"HomeFlag"
],
"interrupt": [
"SkipButton",
"Item-140001Reward",
"SkipOpeningAnimation"
]
},
"SkipButton": {
"recognition": "OCR",
"expected": [
"跳过",
"Skip"
],
"roi": [
1094,
0,
186,
119
],
"action": "Click",
"post_wait_freezes": {
"time": 300,
"target": "HomeLoading_wait"
}
},
"SkipOpeningAnimation": {
"action": "Click",
"target": "HomeLoading_wait"
},
"HomeFlag": {
"recognition": "TemplateMatch",
Expand Down Expand Up @@ -239,7 +271,11 @@
0,
526,
590
]
],
"post_wait_freezes": {
"time": 300,
"target": "HomeLoading_wait"
}
},
"AccumulatedSignIn": {
"recognition": "TemplateMatch",
Expand All @@ -264,16 +300,63 @@
],
"action": "Click"
},
"CloseDuringFestivalDipaRewardPage": {
"Item-140001Reward": {
"doc": "独一律奖励",
"recognition": "TemplateMatch",
"template": "StartUp/Item-140001Reward.png",
"roi": [
126,
415,
1024,
204
],
"action": "Click",
"target_offset": [
0,
-108,
0,
0
],
"next": [
"NoItem-140001Reward",
"Item-140001Reward",
"CloseRewardPage"
],
"interrupt": [
"ObtainedAwards"
]
},
"NoItem-140001Reward": {
"recognition": "OCR",
"expected": [
"未达到",
"领取",
"条件"
],
"roi": [
1020,
41,
260,
236
],
"next": [
"CloseRewardPage"
],
"interrupt": [
"ObtainedAwards"
]
},
"CloseRewardPage": {
"green_mask": true,
"recognition": "TemplateMatch",
"template": "StartUp/CloseDuringFestivalDipaRewardPage.png",
"template": "StartUp/CloseRewardPage.png",
"roi": [
1069,
68,
138,
138
],
"action": "Click"
"action": "Click",
"post_wait_freezes": 300
}
}

0 comments on commit 68dc658

Please sign in to comment.