Skip to content

Commit

Permalink
feat: 舰团委托回收
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Sep 8, 2023
1 parent 6739b55 commit 0c2f7d8
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 3 deletions.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 79 additions & 3 deletions assets/resource/pipeline/armada.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,19 @@
"action": "Click",
"next": [
"EnterCommissionedRecovery",
"ApplyForANewCommission"
"ApplyForANewCommission",
"AcceptNewCommission",
"CommissionItem",
"CommissionItemBuyMax",
"CommissionItemBuy",
"CommissionSubmitButton",
"CommissionNoSubmitButton"
]
},
"ApplyForANewCommission": {
"recognition": "TemplateMatch",
"template": "Armada/ApplyForANewCommission.png",
"threshold": 0.9,
"roi": [
37,
577,
Expand All @@ -50,7 +57,11 @@
"action": "Click",
"next": [
"ApplyForANewCommission",
"AcceptNewCommission"
"AcceptNewCommission",
"CommissionItem",
"CommissionItemBuyMax",
"CommissionItemBuy",
"CommissionSubmitButton"
]
},
"AcceptNewCommission": {
Expand All @@ -67,12 +78,65 @@
"action": "Click",
"next": [
"AcceptNewCommission",
"CommissionItem",
"CommissionItemBuyMax",
"CommissionItemBuy",
"CommissionSubmitButton"
]
},
"CommissionItem": {
"recognition": "TemplateMatch",
"green_mask": true,
"template": "Armada/CommissionItem.png",
"roi": [
7,
112,
248,
248
],
"action": "Click",
"post_wait_freezes": 200,
"next": [
"CommissionItemBuyMax",
"CommissionItemBuy",
"CommissionSubmitButton"
]
},
"CommissionItemBuyMax": {
"recognition": "TemplateMatch",
"template": "Armada/CommissionItemBuyMax.png",
"roi": [
565,
500,
158,
133
],
"action": "Click",
"next": [
"CommissionItemBuy",
"CommissionSubmitButton"
]
},
"CommissionItemBuy": {
"recognition": "TemplateMatch",
"template": "Armada/CommissionItemBuy.png",
"roi": [
872,
494,
167,
145
],
"action": "Click",
"post_wait_freezes": 200,
"next": [
"CommissionSubmitButton",
"SubmitCommission"
]
},
"CommissionSubmitButton": {
"recognition": "TemplateMatch",
"template": "Armada/CommissionSubmitButton.png",
"threshold": 0.95,
"roi": [
860,
579,
Expand All @@ -85,6 +149,17 @@
"SubmitCommission"
]
},
"CommissionNoSubmitButton": {
"inverse": true,
"recognition": "TemplateMatch",
"template": "Armada/CommissionSubmitButton.png",
"roi": [
860,
579,
171,
141
]
},
"SubmitCommission": {
"recognition": "TemplateMatch",
"template": "Armada/SubmitCommission.png",
Expand All @@ -99,7 +174,8 @@
"next": [
"SubmitCommission",
"Sub_CloseDialogBox",
"CommissionSubmitButton"
"CommissionSubmitButton",
"CommissionNoSubmitButton"
]
}
}

0 comments on commit 0c2f7d8

Please sign in to comment.