选完人后无需点击折叠

This commit is contained in:
Elaina 2024-10-19 16:18:30 +08:00
parent a93cd13473
commit 5d2d134f30

View file

@ -31,16 +31,12 @@ class BattleAgentChooseSolver(SceneGraphSolver):
self.lack = []
self.tmp_data = {}
self.swipe_time = 0
self.success = False
super().run()
return self.lack
def choose_agents(self):
if self.final_check:
if pos := self.find("choose_agent/foldup"):
self.tap(pos, interval=0.1)
return
check = self.get_agent_pos()
if check:
for i in check: