diff --git a/docs/maa_tasks_schema.json b/docs/maa_tasks_schema.json index 192e2a762c..1d5f8b826f 100644 --- a/docs/maa_tasks_schema.json +++ b/docs/maa_tasks_schema.json @@ -158,7 +158,13 @@ "description": "可选项,要匹配的图片文件名\n不填时写默认 \"任务名.png\"" }, "templThreshold": { - "type": "number", + "type": [ + "array", + "number" + ], + "items": { + "type": "number" + }, "default": 0.8, "description": "可选项,图片模板匹配得分的阈值,超过阈值才认为识别到了。\n默认 0.8, 可根据日志查看实际得分是多少" }, diff --git a/docs/maa_tasks_schema_en.json b/docs/maa_tasks_schema_en.json index 9293850188..cd63645658 100644 --- a/docs/maa_tasks_schema_en.json +++ b/docs/maa_tasks_schema_en.json @@ -158,7 +158,13 @@ "description": "Optional, the file name of the image to be matched\nDefauts to \"task name.png\", If not filled" }, "templThreshold": { - "type": "number", + "type": [ + "array", + "number" + ], + "items": { + "type": "number" + }, "default": 0.8, "description": "Optional, the threshold of the matching score of the template image, it is considered recognised if it exceeds the threshold\nDefaults to 0.8, you can check what the actual score is based on the log" },