mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
perf: 优化线索交流、获取好友线索逻辑
This commit is contained in:
@@ -3108,7 +3108,8 @@
|
||||
"roi": [286, 550, 366, 130]
|
||||
},
|
||||
"BackToReceptionMain": {
|
||||
"algorithm": "JustReturn",
|
||||
"template": "ReceptionFlag.png",
|
||||
"roi": [350, 0, 200, 100],
|
||||
"action": "ClickRect",
|
||||
"specificRect": [280, 96, 130, 32],
|
||||
"postDelay": 2000
|
||||
@@ -3143,7 +3144,7 @@
|
||||
"template": "GetClue2.png",
|
||||
"action": "ClickSelf",
|
||||
"roi": [800, 600, 480, 120],
|
||||
"next": ["InfrastClueSelfMaybeFull", "ReceptionFlag"]
|
||||
"next": ["BackToReceptionMain"]
|
||||
},
|
||||
"CloseCluePage": {
|
||||
"action": "ClickSelf",
|
||||
|
||||
@@ -176,8 +176,9 @@ bool asst::InfrastReceptionTask::proc_clue_vacancy()
|
||||
Rect click_rect = confirm_task->roi.move(confirm_task->rect_move);
|
||||
ctrler()->click(click_rect);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -226,8 +227,7 @@ bool asst::InfrastReceptionTask::unlock_clue_exchange()
|
||||
bool asst::InfrastReceptionTask::back_to_reception_main()
|
||||
{
|
||||
ProcessTask(*this, { "EndOfClueExchange" }).set_retry_times(0).run();
|
||||
// 国服有快捷置入后不会进入线索放置页面,不需要返回,多点一次快捷置入也无所谓
|
||||
return ProcessTask(*this, { "InfrastClueQuickInsert", "BackToReceptionMain" }).run();
|
||||
return ProcessTask(*this, { "BackToReceptionMain" }).run();
|
||||
}
|
||||
|
||||
bool asst::InfrastReceptionTask::send_clue()
|
||||
|
||||
Reference in New Issue
Block a user