Skip to content

Commit

Permalink
fix: 增强ODR选择节点的稳定性
Browse files Browse the repository at this point in the history
  • Loading branch information
Windsland52 committed Dec 12, 2024
1 parent e707495 commit ea69713
Showing 1 changed file with 114 additions and 6 deletions.
120 changes: 114 additions & 6 deletions assets/resource/base/pipeline/activity/outside_deduction_rapid.json
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,25 @@
],
"action": "Click",
"next": "ODR_ItemSelect",
"interrupt": "ODR_Move"
"interrupt": [
"ODR_Move",
"ODR_SelectCombat_NoNext"
]
},
"ODR_SelectCombat_NoNext": {
"recognition": "TemplateMatch",
"template": "OutsideDeductionRapid/Combat.png",
"green_mask": true,
"threshold": 0.85,
"index": -1,
"roi": "ODR_QueryChessLocation",
"roi_offset": [
10,
-1080,
1920,
1080
],
"action": "Click"
},
"ODR_SelectDiscovery": {
"recognition": "TemplateMatch",
Expand All @@ -291,7 +309,25 @@
"ODR_Event_Select_SkipText_Second",
"ODR_Event_Select_SkipText_Second2Last"
],
"interrupt": "ODR_Move"
"interrupt": [
"ODR_Move",
"ODR_SelectDiscovery_NoNext"
]
},
"ODR_SelectDiscovery_NoNext": {
"recognition": "TemplateMatch",
"template": "OutsideDeductionRapid/Discovery.png",
"green_mask": true,
"threshold": 0.85,
"index": -1,
"roi": "ODR_QueryChessLocation",
"roi_offset": [
10,
-1080,
1920,
1080
],
"action": "Click"
},
"ODR_SelectTreasure": {
"recognition": "TemplateMatch",
Expand All @@ -308,7 +344,25 @@
],
"action": "Click",
"next": "ODR_Event_Select_SkipText",
"interrupt": "ODR_Move"
"interrupt": [
"ODR_Move",
"ODR_SelectTreasure_NoNext"
]
},
"ODR_SelectTreasure_NoNext": {
"recognition": "TemplateMatch",
"template": "OutsideDeductionRapid/Treasure.png",
"green_mask": true,
"threshold": 0.9,
"index": -1,
"roi": "ODR_QueryChessLocation",
"roi_offset": [
10,
-1080,
1920,
1080
],
"action": "Click"
},
"ODR_SelectRestSite": {
"recognition": "TemplateMatch",
Expand All @@ -325,7 +379,25 @@
],
"action": "Click",
"next": "ODR_Event_Select_SkipText",
"interrupt": "ODR_Move"
"interrupt": [
"ODR_Move",
"ODR_SelectRestSite_NoNext"
]
},
"ODR_SelectRestSite_NoNext": {
"recognition": "TemplateMatch",
"template": "OutsideDeductionRapid/RestSite.png",
"green_mask": true,
"threshold": 0.85,
"index": -1,
"roi": "ODR_QueryChessLocation",
"roi_offset": [
10,
-1080,
1920,
1080
],
"action": "Click"
},
"ODR_SelectShop": {
"recognition": "TemplateMatch",
Expand All @@ -342,7 +414,25 @@
],
"action": "Click",
"next": "ODR_QuitShop",
"interrupt": "ODR_Move"
"interrupt": [
"ODR_Move",
"ODR_SelectShop_NoNext"
]
},
"ODR_SelectShop_NoNext": {
"recognition": "TemplateMatch",
"template": "OutsideDeductionRapid/Shop.png",
"green_mask": true,
"threshold": 0.85,
"index": -1,
"roi": "ODR_QueryChessLocation",
"roi_offset": [
10,
-1080,
1920,
1080
],
"action": "Click"
},
"ODR_SelectImminent": {
"recognition": "TemplateMatch",
Expand All @@ -359,7 +449,25 @@
],
"action": "Click",
"next": "ODR_ItemSelect",
"interrupt": "ODR_Move"
"interrupt": [
"ODR_Move",
"ODR_SelectImminent_NoNext"
]
},
"ODR_SelectImminent_NoNext": {
"recognition": "TemplateMatch",
"template": "OutsideDeductionRapid/Imminent.png",
"green_mask": true,
"threshold": 0.85,
"index": -1,
"roi": "ODR_QueryChessLocation",
"roi_offset": [
10,
-1080,
1920,
1080
],
"action": "Click"
},
"ODR_Move": {
"doc": "点击一下移动按钮",
Expand Down

0 comments on commit ea69713

Please sign in to comment.