From 68776ea8af4408a7d10ebfcd9d0abc270ef0c30b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=93=E4=B8=B6=E6=A2=A6=E4=B8=B6=E4=BB=81?= <74444214+Daydreamer114@users.noreply.github.com> Date: Fri, 6 Dec 2024 22:45:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86=E8=90=A8=E5=8D=A1=E5=85=B9?= =?UTF-8?q?=E8=82=89=E9=B8=BD=20CloseCollection=20=E7=9A=84=20Continue=20?= =?UTF-8?q?=E5=92=8C=20Close=20=E6=94=B9=E4=B8=BA=20RGBCount=20(#11302)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 将萨卡兹肉鸽的 next 鱼骨改为 RGBCount * fix: 再缩小rgb范围 * fix: 将 close 也改为 rgbcount --- resource/tasks.json | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/resource/tasks.json b/resource/tasks.json index d2aa1ef9d7..ffe68ab027 100644 --- a/resource/tasks.json +++ b/resource/tasks.json @@ -9784,6 +9784,13 @@ "specificRect": [600, 600, 25, 25] }, "Sarkaz@Roguelike@CloseCollection": { + "method": "RGBCount", + "colorScales": [ + [ + [150, 150, 150], + [170, 170, 170] + ] + ], "next": [ "Sarkaz@Roguelike@LastReward", "Sarkaz@Roguelike@LastReward4", @@ -9796,8 +9803,14 @@ }, "Sarkaz@Roguelike@CloseCollectionClose": { "action": "ClickSelf", - "templThreshold": 0.9, "roi": [572, 434, 144, 141], + "method": "RGBCount", + "colorScales": [ + [ + [150, 150, 150], + [170, 170, 170] + ] + ], "next": [ "Sarkaz@Roguelike@StageEncounterEnter", "Sarkaz@Roguelike@Stages#next", @@ -9810,9 +9823,14 @@ }, "Sarkaz@Roguelike@CloseCollectionContinue": { "action": "ClickSelf", - "templThreshold": 0.79, "roi": [549, 440, 123, 130], - "maskRange": [100, 255], + "method": "RGBCount", + "colorScales": [ + [ + [110, 110, 110], + [130, 130, 130] + ] + ], "next": [ "Sarkaz@Roguelike@StageEncounterEnter", "Sarkaz@Roguelike@Stages#next",