mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-23 00:52:22 +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,6 +95,7 @@ class ForgottenHallTeam(UI):
|
|||||||
if timeout.reached():
|
if timeout.reached():
|
||||||
logger.info('Team not prepared')
|
logger.info('Team not prepared')
|
||||||
return False
|
return False
|
||||||
|
if self.team_prepared():
|
||||||
chosen_list = [not self.appear(s) for s in seats]
|
chosen_list = [not self.appear(s) for s in seats]
|
||||||
if all(chosen_list):
|
if all(chosen_list):
|
||||||
logger.info("Team already prepared")
|
logger.info("Team already prepared")
|
||||||
|
Loading…
Reference in New Issue
Block a user