fix: 修复重岳等干员带三技能时点错的问题 (#7450)

选择三技能前先进行一次滑动

close #4977 
fix #7349
This commit is contained in:
zzyyyl
2023-12-01 23:52:23 +08:00
committed by GitHub
parent 321f36c92f
commit a39e111ae3
2 changed files with 26 additions and 0 deletions

View File

@@ -340,6 +340,9 @@ bool asst::BattleFormationTask::select_opers_in_cur_page(std::vector<OperGroup>&
ctrler()->click(res.rect);
sleep(delay);
if (1 <= skill && skill <= 3) {
if (skill == 3) {
ProcessTask(*this, { "BattleQuickFormationSkill-SwipeToTheDown" }).run();
}
ctrler()->click(SkillRectArray.at(skill - 1ULL));
sleep(delay);
}