mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
fix.修复发电站进不去的问题
This commit is contained in:
@@ -16,9 +16,8 @@ bool asst::InfrastPowerTask::run()
|
||||
// 发电站只能造这一个
|
||||
set_product("Drone");
|
||||
|
||||
swipe_to_the_left_of_main_ui();
|
||||
|
||||
for (int i = 0; i != 3; ++i) {
|
||||
for (int i = 0; i != MaxNumOfFacility; ++i) {
|
||||
swipe_to_the_left_of_main_ui();
|
||||
enter_facility(FacilityName, i);
|
||||
|
||||
if (!enter_oper_list_page()) {
|
||||
|
||||
@@ -11,6 +11,7 @@ namespace asst {
|
||||
|
||||
const static std::string FacilityName;
|
||||
const static int MaxNumOfOpers = 1;
|
||||
const static int MaxNumOfFacility = 3;
|
||||
private:
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user