mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
fix: 增加肉鸽招募时的左滑次数
This commit is contained in:
@@ -4737,7 +4737,7 @@
|
||||
"specificRect": [
|
||||
1080,
|
||||
200,
|
||||
100,
|
||||
200,
|
||||
300
|
||||
],
|
||||
"preDelay": 300,
|
||||
@@ -4751,7 +4751,7 @@
|
||||
"specificRect": [
|
||||
400,
|
||||
200,
|
||||
100,
|
||||
200,
|
||||
300
|
||||
]
|
||||
},
|
||||
|
||||
@@ -184,7 +184,7 @@ bool asst::RoguelikeRecruitTaskPlugin::_run()
|
||||
|
||||
// 如果划动过,先划回最左边
|
||||
if (i != 0) {
|
||||
swipe_to_the_left_of_operlist(i / 5 + 1);
|
||||
swipe_to_the_left_of_operlist(i / 3 + 1);
|
||||
}
|
||||
|
||||
auto image = m_ctrler->get_image();
|
||||
@@ -241,7 +241,7 @@ bool asst::RoguelikeRecruitTaskPlugin::_run()
|
||||
is_rtl = (selected_oper->page_index * 2) >= i;
|
||||
if (!is_rtl) {
|
||||
// 从左往右需要先划回最左边
|
||||
swipe_to_the_left_of_operlist(i / 5 + 1);
|
||||
swipe_to_the_left_of_operlist(i / 3 + 1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -294,7 +294,7 @@ bool asst::RoguelikeRecruitTaskPlugin::check_char(const std::string& char_name,
|
||||
sleep(Task.get("Roguelike1Custom-HijackSquad")->rear_delay);
|
||||
}
|
||||
Log.info(__FUNCTION__, "| Cannot find oper `" + char_name + "`");
|
||||
swipe_to_the_left_of_operlist(i / 5 + 1);
|
||||
swipe_to_the_left_of_operlist(i / 3 + 1);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user