diff --git a/README.md b/README.md index f6a07085..25d5811b 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,9 @@ - 刷体力、最优材料关卡、活动关卡导航、吃糖选项 - 山麓的回音(肉鸽) - 领取日常奖励 +- 每周深眠域(使用游戏自带自动战斗) 近期可能会支持的功能: - -- 每周深眠域(使用游戏自带自动战斗) - 自定义刷体力关卡 ## 使用说明 diff --git a/assets/interface.json b/assets/interface.json index 3fccb4f9..0d2c7ce6 100644 --- a/assets/interface.json +++ b/assets/interface.json @@ -33,6 +33,10 @@ "name": "每日心相(意志解析)", "entry": "Psychube" }, + { + "name": "自动深眠(配置一二队后再运行,队列名称默认)", + "entry": "Limbo" + }, { "name": "常规作战", "entry": "Combat", diff --git a/assets/resource/base/image/Limbo/LimboAwards.png b/assets/resource/base/image/Limbo/LimboAwards.png new file mode 100644 index 00000000..74d0be29 Binary files /dev/null and b/assets/resource/base/image/Limbo/LimboAwards.png differ diff --git a/assets/resource/base/image/Limbo/LimboEnd.png b/assets/resource/base/image/Limbo/LimboEnd.png new file mode 100644 index 00000000..bba70e6e Binary files /dev/null and b/assets/resource/base/image/Limbo/LimboEnd.png differ diff --git a/assets/resource/base/image/Limbo/LimboEntry.png b/assets/resource/base/image/Limbo/LimboEntry.png index 8437354d..03c266c6 100644 Binary files a/assets/resource/base/image/Limbo/LimboEntry.png and b/assets/resource/base/image/Limbo/LimboEntry.png differ diff --git a/assets/resource/base/image/Limbo/LimboFinish.png b/assets/resource/base/image/Limbo/LimboFinish.png new file mode 100644 index 00000000..011b061d Binary files /dev/null and b/assets/resource/base/image/Limbo/LimboFinish.png differ diff --git a/assets/resource/base/image/Limbo/LimboObtainedAwards.png b/assets/resource/base/image/Limbo/LimboObtainedAwards.png new file mode 100644 index 00000000..6185a1dd Binary files /dev/null and b/assets/resource/base/image/Limbo/LimboObtainedAwards.png differ diff --git a/assets/resource/base/image/Limbo/LimboTeamSelection_11.png b/assets/resource/base/image/Limbo/LimboTeamSelection_11.png new file mode 100644 index 00000000..d455ff5b Binary files /dev/null and b/assets/resource/base/image/Limbo/LimboTeamSelection_11.png differ diff --git a/assets/resource/base/image/Limbo/LimboTeamSelection_12.png b/assets/resource/base/image/Limbo/LimboTeamSelection_12.png new file mode 100644 index 00000000..3628e3e9 Binary files /dev/null and b/assets/resource/base/image/Limbo/LimboTeamSelection_12.png differ diff --git a/assets/resource/base/image/Limbo/LimboTeamSelection_21.png b/assets/resource/base/image/Limbo/LimboTeamSelection_21.png new file mode 100644 index 00000000..d89bc038 Binary files /dev/null and b/assets/resource/base/image/Limbo/LimboTeamSelection_21.png differ diff --git a/assets/resource/base/image/Limbo/LimboTeamSelection_22.png b/assets/resource/base/image/Limbo/LimboTeamSelection_22.png new file mode 100644 index 00000000..e35d80ad Binary files /dev/null and b/assets/resource/base/image/Limbo/LimboTeamSelection_22.png differ diff --git a/assets/resource/base/pipeline/limbo.json b/assets/resource/base/pipeline/limbo.json index c5e76df0..0615f65d 100644 --- a/assets/resource/base/pipeline/limbo.json +++ b/assets/resource/base/pipeline/limbo.json @@ -75,15 +75,14 @@ ] }, "LimboEntry": { - "enabled": false, - "enabled_doc": "还没写完", + "enabled_doc": "正在写", "recognition": "TemplateMatch", "template": "Limbo/LimboEntry.png", "roi": [ - 873, - 244, - 264, - 231 + 864, + 393, + 297, + 162 ], "action": "Click", "next": [ @@ -110,6 +109,7 @@ ], "post_wait_freezes": 1, "next": [ + "LimboEnd", "LimboStageRightest", "LimboStageFlag" ] @@ -124,10 +124,11 @@ 134 ], "next": [ - "LimboStageLightest" + "LimboStageLightest_1" ] }, - "LimboStageLightest": { + "LimboStageLightest_1": { + "doc": "最靓的位置,要多点几次", "recognition": "ColorMatch", "method": 6, "roi": [ @@ -144,6 +145,282 @@ ], "connected": true, "count": 500, - "action": "Click" + "action": "Click", + "next": [ + "LimboActionFlag_1", + "LimboStageLightest_1" + ] + }, + "LimboActionFlag_1": { + "recognition": "OCR", + "text": "开始行动", + "roi": [ + 988, + 566, + 256, + 154 + ], + "next": [ + "LimboTeamSelection_1", + "LimboActionFlag_1" + ] + }, + "LimboTeamSelection_1": { + "recognition": "OCR", + "text": "成员队列", + "roi": [ + 786, + 631, + 156, + 43 + ], + "action": "Click", + "next": [ + "LimboTeamSelection_11", + "LimboTeamSelection_1" + ] + }, + "LimboTeamSelection_11": { + "recognition": "TemplateMatch", + "template": [ + "Limbo/LimboTeamSelection_11.png", + "Limbo/LimboTeamSelection_12.png" + ], + "order_by": "Score", + "threshold": 0.9, + "roi": [ + 722, + 342, + 272, + 219 + ], + "action": "Click", + "next": [ + "LimboAction_1", + "LimboTeamSelection_11" + ] + }, + "LimboAction_1": { + "recognition": "OCR", + "text": "开始行动", + "roi": [ + 988, + 566, + 256, + 154 + ], + "timeout": 2000000, + "action": "Click", + "next": [ + "LimboVictory_1", + "LimboAction_1" + ] + }, + "LimboVictory_1": { + "recognition": "OCR", + "text": [ + "战斗胜利", + "战斗失败" + ], + "roi": [ + 678, + 10, + 473, + 240 + ], + "action": "Click", + "next": [ + "LimboVictory_1", + "LimboStageLightest_2" + ] + }, + "LimboStageLightest_2": { + "doc": "最靓的位置,要多点几次", + "recognition": "ColorMatch", + "method": 6, + "roi": [ + 0, + 70, + 1280, + 560 + ], + "lower": [ + 200 + ], + "upper": [ + 255 + ], + "connected": true, + "count": 500, + "action": "Click", + "next": [ + "LimboActionFlag_2", + "LimboStageLightest_2" + ] + }, + "LimboActionFlag_2": { + "recognition": "OCR", + "text": "开始行动", + "roi": [ + 988, + 566, + 256, + 154 + ], + "next": [ + "LimboTeamSelection_2", + "LimboActionFlag_2" + ] + }, + "LimboTeamSelection_2": { + "recognition": "OCR", + "text": "成员队列", + "roi": [ + 786, + 631, + 156, + 43 + ], + "action": "Click", + "next": [ + "LimboTeamSelection_22", + "LimboTeamSelection_2" + ] + }, + "LimboTeamSelection_22": { + "recognition": "TemplateMatch", + "template": [ + "Limbo/LimboTeamSelection_21.png", + "Limbo/LimboTeamSelection_22.png" + ], + "order_by": "Score", + "threshold": 0.9, + "roi": [ + 722, + 342, + 272, + 219 + ], + "action": "Click", + "next": [ + "LimboAction_2", + "LimboTeamSelection_22" + ] + }, + "LimboAction_2": { + "recognition": "OCR", + "text": "开始行动", + "roi": [ + 988, + 566, + 256, + 154 + ], + "timeout": 2000000, + "action": "Click", + "next": [ + "LimboVictory_2", + "LimboAction_2" + ] + }, + "LimboVictory_2": { + "recognition": "OCR", + "text": [ + "战斗胜利", + "战斗失败" + ], + "roi": [ + 678, + 10, + 473, + 240 + ], + "action": "Click", + "next": [ + "LimboFinish", + "LimboVictory_2" + ] + }, + "LimboFinish": { + "recognition": "TemplateMatch", + "template": "Limbo/LimboFinish.png", + "roi": [ + 400, + 199, + 569, + 354 + ], + "green_mask": true, + "action": "Click", + "next": [ + "LimboAwards", + "LimboFinish" + ] + }, + "LimboAwards": { + "recognition": "TemplateMatch", + "template": "Limbo/LimboAwards.png", + "roi": [ + 139, + 589, + 109, + 110 + ], + "green_mask": true, + "action": "Click", + "next": [ + "LimboObtainedAwards_1" + ] + }, + "LimboObtainedAwards_1": { + "recognition": "TemplateMatch", + "template": "Limbo/LimboObtainedAwards.png", + "roi": [ + 941, + 132, + 205, + 176 + ], + "action": "Click", + "next": [ + "Sub_ObtainedAwards", + "LimboObtainedAwards_2" + ] + }, + "LimboObtainedAwards_2": { + "recognition": "OCR", + "text": "深眠试验酬劳", + "roi": [ + 104, + 36, + 358, + 157 + ], + "action": "Click", + "target": [ + 20, + 20, + 20, + 20 + ], + "next": [ + "Sub_ObtainedAwards", + "LimboEnd", + "LimboStageRightest", + "Sub_BackButton", + "LimboObtainedAwards_2" + ] + }, + "LimboEnd": { + "recognition": "TemplateMatch", + "template": "Limbo/LimboEnd.png", + "threshold": 0.9, + "roi": [ + 843, + 431, + 231, + 135 + ], + "next": [] } } \ No newline at end of file