mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
opt.优化无人机的使用时机
This commit is contained in:
@@ -91,13 +91,6 @@ bool asst::InfrastProductionTask::shift_facility_list()
|
||||
set_product(cur_product);
|
||||
Log.info("cur product", cur_product);
|
||||
|
||||
// 使用无人机
|
||||
if (cur_product == m_uses_of_drones) {
|
||||
if (use_drone()) {
|
||||
m_uses_of_drones = "_Used";
|
||||
}
|
||||
}
|
||||
|
||||
locked_analyzer.set_image(image);
|
||||
if (locked_analyzer.analyze()) {
|
||||
m_cur_num_of_lokced_opers = locked_analyzer.get_result().size();
|
||||
@@ -135,6 +128,13 @@ bool asst::InfrastProductionTask::shift_facility_list()
|
||||
break;
|
||||
}
|
||||
click_confirm_button();
|
||||
|
||||
// 使用无人机
|
||||
if (cur_product == m_uses_of_drones) {
|
||||
if (use_drone()) {
|
||||
m_uses_of_drones = "_Used";
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user