mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
feat!: 自动战斗不再允许使用带TR的导航关卡名禁用自动编队,改为自动检测 (#11868)
* fix: 自动战斗不再允许使用带TR的导航关卡名禁用自动编队,改为自动检测 * chore: Auto update by pre-commit hooks [skip changelog] --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -144,8 +144,7 @@ bool asst::CopilotTask::set_params(const json::value& params)
|
||||
m_not_use_prts_task_ptr->set_enable(need_navigate); // 不使用代理指挥
|
||||
m_medicine_plugin_ptr->set_enable(use_sanity_potion);
|
||||
|
||||
// 关卡名含有"TR"的为教学关,不需要编队
|
||||
m_formation_task_ptr->set_enable(with_formation && navigate_name.find("TR") == std::string::npos);
|
||||
m_formation_task_ptr->set_enable(with_formation);
|
||||
m_formation_task_ptr->set_select_formation(select_formation);
|
||||
m_formation_task_ptr->set_add_trust(add_trust);
|
||||
m_formation_task_ptr->set_support_unit_usage(support_unit_usage);
|
||||
|
||||
Reference in New Issue
Block a user