修改BattleAgentChooseSolver返回值
All checks were successful
ci/woodpecker/push/check_format Pipeline was successful

This commit is contained in:
EightyDollars 2024-11-15 01:57:41 +08:00
parent 1b84fa371c
commit d6524a5525

View file

@ -31,7 +31,8 @@ class BattleAgentChooseSolver(SceneGraphSolver):
self.tag = "ALL"
self.interval = config.screenshot_avg / 1000
super().run()
return self.lack
return [self.lack, len(self.choosed)]
def choose_agents(self):
if pos := self.find("choose_agent/open_profession"):