perf: 保全开局水泥换牌兼容

This commit is contained in:
status102
2024-08-20 14:17:21 +08:00
parent 3625fb18c4
commit bceea3bd93

View File

@@ -141,7 +141,8 @@ bool asst::SSSBattleProcessTask::wait_until_start(bool weak)
int replace_count; // 替换干员数量,装置不计数
int replace_limit = 4; // 替换数量限制最多替换4个
int cost_limit = 29; // 费用阈值,低于该费用的干员不替换
if (m_all_action_opers.contains("超重绝缘水泥")) {
// 暂时写死凑合一下
if (m_all_action_opers.contains("超重绝缘水泥") || m_all_cores.contains("超重绝缘水泥")) {
replace_count = 1; // 只换水泥+1个以防换出水泥
}
else {