mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 18:47:55 +08:00
fix: 修复了会客室把可以挂上的线索送出的问题
This commit is contained in:
@@ -20,16 +20,19 @@ bool asst::InfrastReceptionTask::_run()
|
||||
|
||||
close_end_of_clue_exchange();
|
||||
|
||||
// 防止送线索把可以填入的送了
|
||||
proc_clue_vacancy();
|
||||
if (unlock_clue_exchange()) {
|
||||
proc_clue_vacancy();
|
||||
}
|
||||
back_to_reception_main();
|
||||
|
||||
get_clue();
|
||||
if (need_exit()) {
|
||||
return false;
|
||||
}
|
||||
use_clue();
|
||||
if (need_exit()) {
|
||||
return false;
|
||||
}
|
||||
click_return_button();
|
||||
click_bottom_left_tab();
|
||||
back_to_reception_main();
|
||||
if (need_exit()) {
|
||||
return false;
|
||||
}
|
||||
@@ -133,6 +136,12 @@ bool asst::InfrastReceptionTask::unlock_clue_exchange()
|
||||
return task.run();
|
||||
}
|
||||
|
||||
bool asst::InfrastReceptionTask::back_to_reception_main()
|
||||
{
|
||||
ProcessTask task(*this, { "BackToReceptionMain" });
|
||||
return task.run();
|
||||
}
|
||||
|
||||
bool asst::InfrastReceptionTask::send_clue()
|
||||
{
|
||||
ProcessTask task(*this, { "SendClues" });
|
||||
@@ -204,4 +213,4 @@ bool asst::InfrastReceptionTask::shift()
|
||||
}
|
||||
click_confirm_button();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user