diff --git a/src/MaaCore/Task/Miscellaneous/BattleFormationTask.cpp b/src/MaaCore/Task/Miscellaneous/BattleFormationTask.cpp index 22dfa5beb6..c0c01cbdb6 100644 --- a/src/MaaCore/Task/Miscellaneous/BattleFormationTask.cpp +++ b/src/MaaCore/Task/Miscellaneous/BattleFormationTask.cpp @@ -721,6 +721,8 @@ bool asst::BattleFormationTask::check_and_select_skill( // 使用模板匹配检测重叠区域 Matcher match(stitched_image); match.set_templ(make_roi(roi_image_new, cv::Rect { 0, 0, roi_image_new.cols, 30 })); + match.set_method(MatchMethod::Ccoeff); + match.set_threshold(0.8); if (!match.analyze()) { retry++; continue;