From 369c4fc35ee54791dca574e30d5c4eac66f5d4a2 Mon Sep 17 00:00:00 2001 From: zzyyyl Date: Sun, 2 Oct 2022 18:02:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E4=BB=A5=E7=AC=A6=E5=90=88=20syntax=5Fcheck?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/tasks.json | 11 +++++++---- src/MeoAssistant/TaskData.cpp | 2 -- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/resource/tasks.json b/resource/tasks.json index 5f8d50005d..9c3fa1c44e 100644 --- a/resource/tasks.json +++ b/resource/tasks.json @@ -4569,7 +4569,7 @@ ] }, "InfrastSkillsUpper": { - "algorithm": "JustReturn", + "template": "empty.png", "roi": [ 400, 280, @@ -4578,7 +4578,7 @@ ] }, "InfrastSkillsLower": { - "algorithm": "JustReturn", + "template": "empty.png", "roi": [ 400, 560, @@ -6519,7 +6519,7 @@ ] }, "BattleOperClickRange": { - "algorithm": "JustReturn", + "template": "empty.png", "rectMove": [ -45, 6, @@ -6562,7 +6562,7 @@ ] }, "BattleOperRoleRange": { - "algorithm": "JustReturn", + "template": "empty.png", "rectMove": [ -41, 6, @@ -8501,6 +8501,7 @@ }, "Roguelike1SkillSelectionMove1": { "algorithm": "JustReturn", + "rectMove_Doc": "技能1相对flag的坐标", "rectMove": [ 180, -40, @@ -8510,6 +8511,7 @@ }, "Roguelike1SkillSelectionMove2": { "algorithm": "JustReturn", + "rectMove_Doc": "技能2相对flag的坐标", "rectMove": [ 240, -40, @@ -8519,6 +8521,7 @@ }, "Roguelike1SkillSelectionMove3": { "algorithm": "JustReturn", + "rectMove_Doc": "技能3相对flag的坐标", "rectMove": [ 300, -40, diff --git a/src/MeoAssistant/TaskData.cpp b/src/MeoAssistant/TaskData.cpp index 4f7b615b24..b3fb5a8386 100644 --- a/src/MeoAssistant/TaskData.cpp +++ b/src/MeoAssistant/TaskData.cpp @@ -267,8 +267,6 @@ bool asst::TaskData::syntax_check(std::string_view task_name, const json::value& "preDelay", "rearDelay", "reduceOtherTimes", - - "roi", "rectMove", } }, { AlgorithmType::Hash, {