This commit is contained in:
parent
9a47e37d9e
commit
394c1104b9
1 changed files with 2 additions and 7 deletions
|
@ -83,13 +83,6 @@ class ChooseSupportSolver(SceneGraphSolver):
|
|||
else:
|
||||
match.append(((i, 500), (i + 194, 625)))
|
||||
logger.debug(match)
|
||||
if (
|
||||
len(match) == 0
|
||||
and not self.swiped
|
||||
and self.scene() == Scene.OPERATOR_SUPPORT
|
||||
): # 切换职业时干员没有加载出来
|
||||
self.sleep(0.5)
|
||||
return self.get_oper_pos()
|
||||
match_opers = dict(match_portrait(config.recog.gray, segment=match))
|
||||
result = {}
|
||||
for op in self.opers_skill:
|
||||
|
@ -152,6 +145,8 @@ class ChooseSupportSolver(SceneGraphSolver):
|
|||
|
||||
def transition(self):
|
||||
if (scene := self.scene()) == Scene.OPERATOR_SUPPORT:
|
||||
if self.animation():
|
||||
return
|
||||
if self.retry_times < 0:
|
||||
self.scene_graph_step(Scene.OPERATOR_SELECT)
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue