Skip to content

Commit

Permalink
fix:修复各种bug (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
a16797 authored Sep 22, 2024
1 parent 41610cc commit 5ba3143
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 5 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 21 additions & 1 deletion assets/resource/base/pipeline/combat.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,31 @@
"doc": "铸币美学",
"next": [
"ResourceChapter_MAEnter",
"Sub_SwipeRightForChapter",
"Sub_ResourceChapterLabel"
]
},
"ResourceChapter_MAEnter": {
"recognition": "OCR",
"expected": [
"铸币"
],
"replace": [
"",
""
],
"roi": [
0,
153,
1280,
367
],
"action": "Click",
"next": [
"SwipeLeftAndFindStage",
"Sub_SwipeRightForChapter"
]
},
"ResourceChapter_MAEnter原": {
"recognition": "TemplateMatch",
"template": "Combat/ResourceChapter_MAEnter.png",
"threshold": 0.9,
Expand Down
1 change: 1 addition & 0 deletions assets/resource/base/pipeline/psychube.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"PsychubeSwitchToReplay": {
"recognition": "TemplateMatch",
"template": "Psychube/SwitchToReplay.png",
"threshold": 0.8,
"roi": [
548,
569,
Expand Down
3 changes: 2 additions & 1 deletion assets/resource/base/pipeline/startup.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
"GameLoading",
"Download",
"StartGame",
"CloseAnnouncement"
"CloseAnnouncement",
"HomeFlag"
]
},
"GameLoading": {
Expand Down
49 changes: 46 additions & 3 deletions assets/resource/base/pipeline/wilderness.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"Wilderness": {
"next": [
"EnterWilderness",
"EnterProduct",
"CollectEXP",
"CollectMoney",
"CollectAwards",
Expand Down Expand Up @@ -114,10 +115,29 @@
"CollectTrust",
"TrustDialogueNext",
"TrustDialogueInteraction",
"Sub_TestCritterTraining",
"Sub_HomeButton",
"HomeFlag"
]
},
"Sub_TestCritterTraining": {
"is_sub": true,
"recognition": "OCR",
"expected": "培训位置",
"roi": [
1076,
0,
204,
131
],
"action": "Click",
"target": [
44,
44,
8,
8
]
},
"TrustDialogueNext": {
"recognition": "TemplateMatch",
"template": "Wilderness/TrustDialogueNext.png",
Expand Down Expand Up @@ -186,10 +206,30 @@
0,
0
],
"post_delay": 500,
"action": "Click",
"next": [
"CollectProduct",
"EnterProduct"
"EnterProduct",
"Sub_SummonlngSuccess"
]
},
"Sub_SummonlngSuccess": {
"is_sub": true,
"recognition": "TemplateMatch",
"template": "Wilderness/SummonlngSuccess.png",
"roi": [
528,
1,
245,
166
],
"action": "Click",
"target": [
44,
44,
8,
8
]
},
"CollectProduct": {
Expand Down Expand Up @@ -234,7 +274,8 @@
],
"action": "Click",
"next": [
"AutoSelectLeast"
"AutoSelectLeast",
"AutoSelectProducts"
]
},
"AutoSelectLeast": {
Expand All @@ -250,7 +291,8 @@
],
"action": "Click",
"next": [
"AutoSelectComfirm"
"AutoSelectComfirm",
"AutoSelectLeast"
]
},
"AutoSelectComfirm": {
Expand All @@ -266,6 +308,7 @@
],
"action": "Click",
"next": [
"AutoSelectComfirm",
"CollectEXP",
"CollectMoney",
"CollectAwards",
Expand Down

0 comments on commit 5ba3143

Please sign in to comment.