Skip to content

Commit

Permalink
Merge pull request #26 from LBEILC/dev
Browse files Browse the repository at this point in the history
feat: 获取物品添加延迟,删除夏活任务,模拟军演添加刷新阈值
  • Loading branch information
Tohkahb authored Oct 15, 2024
2 parents cd121da + 9a239a3 commit 14e129f
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 17 deletions.
45 changes: 40 additions & 5 deletions assets/interface.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,12 @@
"作战关卡"
]
},
{
"name": "夏日活动",
"entry": "夏活"
},
{
"name": "模拟军演",
"entry": "模拟军演",
"option": [
"刷新战力阈值"
],
"pipeline_override": {
"首页_出击": {
"next": "模拟军演_入口"
Expand Down Expand Up @@ -319,6 +318,42 @@
}
}
]
},
"刷新战力阈值": {
"cases": [
{
"name": "5000",
"pipeline_override": {
"模拟军演_刷新对手": {
"expected": "^([5-9]\\d{3}|[1-9]\\d{4})$"
}
}
},
{
"name": "10000",
"pipeline_override": {
"模拟军演_刷新对手": {
"expected": "^[1-9]\\d{4}$"
}
}
},
{
"name": "20000",
"pipeline_override": {
"模拟军演_刷新对手": {
"expected": "^([2-9]\\d{4})$"
}
}
},
{
"name": "30000",
"pipeline_override": {
"模拟军演_刷新对手": {
"expected": "^([3-9]\\d{4})$"
}
}
}
]
}
}
}
}
14 changes: 4 additions & 10 deletions assets/resource/base/pipeline/rehearsal.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,11 @@
},
"模拟军演_刷新对手": {
"recognition": "OCR",
"expected": [
"1",
"2",
"3",
"4",
"5"
],
"expected": "^[1-9]\\d{4}$",
"roi": [
341,
330,
315,
23,
92,
29
],
"action": "Click",
Expand Down Expand Up @@ -201,4 +195,4 @@
],
"action": "Click"
}
}
}
5 changes: 3 additions & 2 deletions assets/resource/base/pipeline/utils.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@
405,
117
],
"action": "Click"
"action": "Click",
"post_delay": 1000
},
"子任务_点击返回": {
"is_sub": true,
Expand Down Expand Up @@ -142,4 +143,4 @@
],
"action": "Click"
}
}
}

0 comments on commit 14e129f

Please sign in to comment.