mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 02:10:21 +08:00
fix: 修复自定义干员不选的问题,修复临时招募的精二干员不选的问题
This commit is contained in:
@@ -57,6 +57,9 @@ bool asst::RoguelikeRecruitTaskPlugin::_run()
|
||||
|
||||
if (!recruited) {
|
||||
for (const auto& info : oper_list) {
|
||||
if (!info.required) {
|
||||
continue;
|
||||
}
|
||||
// 拿个精一 50 以上的
|
||||
if (info.elite == 0 ||
|
||||
(info.elite == 1 && info.level < 50)) {
|
||||
@@ -71,6 +74,9 @@ bool asst::RoguelikeRecruitTaskPlugin::_run()
|
||||
Log.info("All are lower");
|
||||
// 随便招个精一的
|
||||
for (const auto& info : oper_list) {
|
||||
if (!info.required) {
|
||||
continue;
|
||||
}
|
||||
if (info.elite == 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user