mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 10:57:45 +08:00
调整肉鸽助战刷新次数
This commit is contained in:
@@ -9322,7 +9322,11 @@
|
||||
38
|
||||
],
|
||||
"postDelay": 3000,
|
||||
"postDelay_Doc": "点击刷新后的等待时间"
|
||||
"postDelay_Doc": "点击刷新后的等待时间",
|
||||
"specialParams_Doc": "助战刷新最大次数",
|
||||
"specialParams": [
|
||||
5
|
||||
]
|
||||
},
|
||||
"RoguelikeChooseSupportBtnOcr": {
|
||||
"algorithm": "OcrDetect",
|
||||
|
||||
@@ -387,7 +387,7 @@ bool asst::RoguelikeRecruitTaskPlugin::check_char(const std::string& char_name,
|
||||
bool asst::RoguelikeRecruitTaskPlugin::check_support_char()
|
||||
{
|
||||
LogTraceFunction;
|
||||
const int MaxRefreshTimes = 3;
|
||||
const int MaxRefreshTimes = Task.get("RoguelikeRefreshSupportBtnOcr")->special_params.front();
|
||||
|
||||
auto core_opt = status()->get_str(Status::RoguelikeCoreChar);
|
||||
status()->set_str(Status::RoguelikeCoreChar, "");
|
||||
|
||||
@@ -82,7 +82,8 @@ bool asst::RoguelikeRecruitSupportAnalyzer::analyze()
|
||||
}
|
||||
|
||||
Log.info(__FUNCTION__, "| AnalyzeChars append ", char_info.oper_info.name, char_info.oper_info.rect,
|
||||
char_elite, char_level, is_friend, char_info.max_elite, char_info.max_level);
|
||||
char_info.oper_info.elite, char_info.oper_info.level, is_friend, char_info.max_elite,
|
||||
char_info.max_level);
|
||||
m_char_result.push_back(char_info);
|
||||
}
|
||||
return !m_char_result.empty();
|
||||
|
||||
Reference in New Issue
Block a user