fix: 修复自定义干员不选的问题,修复临时招募的精二干员不选的问题

This commit is contained in:
MistEO
2022-07-30 00:33:59 +08:00
parent 88fc9ef6fb
commit b2cde7665a
4 changed files with 17 additions and 3 deletions

View File

@@ -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;
}