修改BattleAgentChooseSolver返回值
All checks were successful
ci/woodpecker/push/check_format Pipeline was successful
All checks were successful
ci/woodpecker/push/check_format Pipeline was successful
This commit is contained in:
parent
1b84fa371c
commit
d6524a5525
1 changed files with 2 additions and 1 deletions
|
@ -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"):
|
||||
|
|
Loading…
Reference in a new issue