From 49573b9a9fc4191a48fc9a61521f7e770f4ba26e Mon Sep 17 00:00:00 2001 From: Windsland52 <86581225+Windsland52@users.noreply.github.com> Date: Fri, 13 Dec 2024 23:43:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20ODR=E5=95=86=E5=BA=97=E5=B0=9D=E8=AF=95?= =?UTF-8?q?=E8=B4=AD=E7=89=A9=EF=BC=8C=E4=BC=98=E5=85=88=E7=BA=A7=E8=87=B3?= =?UTF-8?q?=E6=9C=80=E9=AB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../activity/outside_deduction_rapid.json | 182 +++++++++++++++++- 1 file changed, 180 insertions(+), 2 deletions(-) diff --git a/assets/resource/base/pipeline/activity/outside_deduction_rapid.json b/assets/resource/base/pipeline/activity/outside_deduction_rapid.json index c62ba7e..44cd20e 100644 --- a/assets/resource/base/pipeline/activity/outside_deduction_rapid.json +++ b/assets/resource/base/pipeline/activity/outside_deduction_rapid.json @@ -460,12 +460,190 @@ ] }, "action": "Click", - "next": "ODR_QuitShop", + "next": [ + "ODR_ShopCompleted", + "ODR_ShopCompleted_2-1" + ], "interrupt": [ "ODR_Move", + "ODR_ShopBuy", + "ODR_ShopEnter_2-1", + "ODR_ShopSingleCompleted", "ODR_SelectShop_NoNext" ] }, + "ODR_ShopCompleted_2-1": { + "doc": "第二排兽牙项链买完", + "recognition": "OCR", + "expected": [ + "^售" + ], + "roi": [ + 204, + 474, + 47, + 27 + ], + "only_rec": true, + "next": [ + "ODR_ShopCompleted", + "ODR_ShopCompleted_2-2" + ], + "interrupt": [ + "ODR_ShopBuy", + "ODR_ShopEnter_2-2", + "ODR_ShopSingleCompleted" + ] + }, + "ODR_ShopCompleted_2-2": { + "doc": "第二排七日发条买完", + "recognition": "OCR", + "expected": [ + "^售" + ], + "roi": [ + 447, + 474, + 48, + 28 + ], + "only_rec": true, + "next": [ + "ODR_ShopCompleted", + "ODR_ShopCompleted_2-4" + ], + "interrupt": [ + "ODR_ShopBuy", + "ODR_ShopEnter_2-4", + "ODR_ShopSingleCompleted" + ] + }, + "ODR_ShopCompleted_2-4": { + "doc": "第二排软驱买完", + "recognition": "OCR", + "expected": [ + "^售" + ], + "roi": [ + 934, + 471, + 46, + 29 + ], + "only_rec": true, + "next": [ + "ODR_ShopCompleted", + "ODR_QuitShop" + ], + "interrupt": [ + "ODR_ShopBuy", + "ODR_ShopSingleCompleted" + ] + }, + "ODR_ShopCompleted": { + "doc": "钱不够", + "recognition": "OCR", + "expected": [ + "金雀子儿", + "不足" + ], + "roi": [ + 1023, + 58, + 200, + 130 + ], + "action": "Click", + "target": [ + 1124, + 173, + 100, + 94 + ], + "next": [ + "ODR_QuitShop" + ] + }, + "ODR_ShopEnter_2-1": { + "recognition": "OCR", + "expected": [ + "兽牙项链" + ], + "roi": [ + 188, + 550, + 87, + 29 + ], + "post_wait_freezes": 1, + "only_rec": true, + "action": "Click" + }, + "ODR_ShopEnter_2-2": { + "recognition": "OCR", + "expected": [ + "发条" + ], + "roi": [ + 425, + 549, + 88, + 30 + ], + "post_wait_freezes": 1, + "only_rec": true, + "action": "Click" + }, + "ODR_ShopEnter_2-4": { + "recognition": "OCR", + "expected": [ + "软驱" + ], + "roi": [ + 893, + 551, + 127, + 26 + ], + "post_wait_freezes": 1, + "only_rec": true, + "action": "Click" + }, + "ODR_ShopSingleCompleted": { + "recognition": "OCR", + "expected": [ + "商品", + "已", + "售" + ], + "roi": [ + 1023, + 58, + 200, + 130 + ], + "action": "Click", + "target": [ + 1124, + 173, + 100, + 94 + ] + }, + "ODR_ShopBuy": { + "recognition": "OCR", + "expected": [ + "确认购买" + ], + "roi": [ + 869, + 567, + 131, + 38 + ], + "only_rec": true, + "action": "Click" + }, "ODR_SelectShop_NoNext": { "recognition": "TemplateMatch", "template": "OutsideDeductionRapid/Shop.png", @@ -557,12 +735,12 @@ "threshold": 0.75, "order_by": "Score", "next": [ + "ODR_SelectShop", "ODR_SelectRestSite", "ODR_SelectTreasure", "ODR_SelectDiscovery", "ODR_SelectCombat", "ODR_SelectImminent", - "ODR_SelectShop", "ODR_Exit", "ODR_QueryChessLocation" ]