mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
feat: 新增肉鸽关卡识别错误时自动保存图片功能,修复台服一个肉鸽关卡识别错误
https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/2311
This commit is contained in:
@@ -447,7 +447,7 @@
|
||||
"烟花秀"
|
||||
],
|
||||
[
|
||||
"永無盡頭",
|
||||
"永無.*頭",
|
||||
"永无尽头"
|
||||
],
|
||||
[
|
||||
@@ -1401,4 +1401,4 @@
|
||||
],
|
||||
"ocrReplace": []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -995,7 +995,8 @@ bool asst::RoguelikeBattleTaskPlugin::wait_start()
|
||||
asst::imwrite("map/" + m_stage_name + ".png", image);
|
||||
}
|
||||
else {
|
||||
Log.error("stage name is empty");
|
||||
// 存出来的是带时间戳的文件名
|
||||
kills_analyzer.save_img("map/");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user