feat: 新增自动编队时,自动补充低信赖干员选项

This commit is contained in:
status102
2023-09-09 14:01:56 +08:00
parent 6a9bbc90ca
commit 9ac8c487d4
15 changed files with 142 additions and 18 deletions

View File

@@ -70,6 +70,7 @@ bool asst::CopilotTask::set_params(const json::value& params)
bool with_formation = params.get("formation", false);
m_formation_task_ptr->set_enable(with_formation);
m_formation_task_ptr->set_add_trust(params.get("add_trust", false));
std::string support_unit_name = params.get("support_unit_name", std::string());
m_formation_task_ptr->set_support_unit_name(std::move(support_unit_name));