mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 10:00:44 +08:00
@@ -7459,6 +7459,15 @@
|
||||
255
|
||||
]
|
||||
},
|
||||
"SkipForbiddenOperConfirm": {
|
||||
"action": "ClickSelf",
|
||||
"roi": [
|
||||
640,
|
||||
554,
|
||||
632,
|
||||
76
|
||||
]
|
||||
},
|
||||
"BattleStartAll": {
|
||||
"action": "DoNothing",
|
||||
"algorithm": "JustReturn",
|
||||
|
||||
BIN
resource/template/SkipForbiddenOperConfirm.png
Normal file
BIN
resource/template/SkipForbiddenOperConfirm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
@@ -43,6 +43,11 @@ asst::CopilotTask::CopilotTask(const AsstCallback& callback, Assistant* inst)
|
||||
m_copilot_list_notification_ptr = start_2_tp->register_plugin<CopilotListNotificationPlugin>();
|
||||
m_subtasks.emplace_back(start_2_tp);
|
||||
|
||||
//跳过“以下干员出战后将被禁用,是否继续?”对话框
|
||||
auto start_3_tp = std::make_shared<ProcessTask>(callback, inst, TaskType);
|
||||
start_3_tp->set_tasks({ "SkipForbiddenOperConfirm", "Stop" }).set_ignore_error(false);
|
||||
m_subtasks.emplace_back(start_3_tp);
|
||||
|
||||
m_subtasks.emplace_back(m_battle_task_ptr)->set_retry_times(0);
|
||||
|
||||
m_stop_task_ptr->set_enable(false);
|
||||
|
||||
Reference in New Issue
Block a user