mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-26 18:20:42 +00:00
commit
f65a5ac4e2
@ -16,7 +16,7 @@ class CombatState(UI):
|
|||||||
def is_combat_executing(self) -> bool:
|
def is_combat_executing(self) -> bool:
|
||||||
appear = self.appear(COMBAT_PAUSE)
|
appear = self.appear(COMBAT_PAUSE)
|
||||||
if appear:
|
if appear:
|
||||||
if COMBAT_PAUSE.button_offset[0] <= 5:
|
if COMBAT_PAUSE.button_offset[0] < 3:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
@ -95,7 +95,8 @@ class ForgottenHallTeam(UI):
|
|||||||
if timeout.reached():
|
if timeout.reached():
|
||||||
logger.info('Team not prepared')
|
logger.info('Team not prepared')
|
||||||
return False
|
return False
|
||||||
chosen_list = [not self.appear(s) for s in seats]
|
if self.team_prepared():
|
||||||
if all(chosen_list):
|
chosen_list = [not self.appear(s) for s in seats]
|
||||||
logger.info("Team already prepared")
|
if all(chosen_list):
|
||||||
return True
|
logger.info("Team already prepared")
|
||||||
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user