Skip to content

Commit

Permalink
feat: 自动取消挂载资料片 (#253)
Browse files Browse the repository at this point in the history
feat: 自动取消挂载资料片
fix: 修复获取特定藏品导致进入触媒升级后卡在获得造物界面
(#251)
fix: SOD的boss战斗中有部分对话无法识别
  • Loading branch information
Windsland52 authored Nov 19, 2024
1 parent 8cf89b9 commit a1ea4a0
Showing 1 changed file with 112 additions and 8 deletions.
120 changes: 112 additions & 8 deletions assets/resource/base/pipeline/activity/outside_deduction.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"SeriesOfDusks": {
"next": [
"SOD_MENU",
"SOD_Menu",
"SOD_Main"
],
"interrupt": [
Expand All @@ -22,19 +22,97 @@
"action": "Click",
"post_wait_freezes": 300
},
"SOD_MENU": {
"SOD_Menu": {
"recognition": "TemplateMatch",
"template": "OutsideDeduction/SOD_Menu.png",
"roi": [
196,
169,
355,
161
],
"next": [
"SOD_UNOPENED",
"SOD_Main"
],
"interrupt": [
"SOD_unmount"
]
},
"SOD_MenuFlag": {
"recognition": "TemplateMatch",
"template": "OutsideDeduction/SOD_MENU.png",
"roi": [
196,
169,
355,
161
]
},
"SOD_unmount": {
"recognition": "OCR",
"expected": "资料片",
"roi": [
396,
88,
63,
27
],
"only_rec": true,
"action": "Click",
"next": [
"SOD_unmount_completed",
"SOD_unmount"
],
"interrupt": [
"SOD_unmount_confirm"
]
},
"SOD_unmount_completed": {
"recognition": "OCR",
"expected": "^挂载$",
"roi": [
1016,
620,
124,
38
],
"only_rec": true,
"post_wait_freezes": 300,
"next": [
"SOD_MenuFlag"
],
"interrupt": [
"BackButton"
]
},
"SOD_unmount_confirm": {
"recognition": "OCR",
"expected": "^取消挂载$",
"roi": [
1016,
620,
124,
38
],
"only_rec": true,
"action": "Click"
},
"SOD_UNOPENED": {
"recognition": "OCR",
"expected": "UNOPENED",
"roi": [
1041,
426,
122,
24
],
"only_rec": true,
"next": [
"SODStop",
"SODStart",
"SOD_Main"
"SOD_Main",
"SOD_UNOPENED"
]
},
"SODStop": {
Expand Down Expand Up @@ -1620,6 +1698,9 @@
"next": [
"SOD_NewArcanist",
"SOD_Levelup"
],
"interrupt": [
"SOD_Acquire_NoNext"
]
},
"SOD_Move": {
Expand Down Expand Up @@ -1726,6 +1807,7 @@
]
},
"SOD_Combating": {
"doc": "考虑到对话框可能出现,也可能不出现,匹配太多,故选择点击空白",
"recognition": "TemplateMatch",
"template": "OutsideDeduction/SOD_Combating.png",
"roi": [
Expand All @@ -1735,13 +1817,16 @@
64
],
"timeout": 40000,
"post_delay": 3000,
"post_delay": 1000,
"action": "Click",
"target": [
254,
146,
89,
73
],
"next": [
"SOD_CombatVictory",
"Sub_SOD_Dialog_1",
"Sub_SOD_Dialog_2",
"Sub_SOD_Dialog_3",
"Sub_SOD_Dialog_4",
"SOD_CombatDefeat_hint",
"SOD_CombatDefeat",
"SOD_ItemSellct_1",
Expand Down Expand Up @@ -2255,6 +2340,25 @@
"SOD_Nothinghappen"
]
},
"SOD_Acquire_NoNext": {
"recognition": "OCR",
"expected": [
"获得造物"
],
"roi": [
535,
4,
224,
68
],
"action": "Click",
"target": [
637,
642,
20,
20
]
},
"SOD_Main": {
"recognition": "TemplateMatch",
"template": "OutsideDeduction/SOD_Main.png",
Expand Down

0 comments on commit a1ea4a0

Please sign in to comment.