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:
|
||||
appear = self.appear(COMBAT_PAUSE)
|
||||
if appear:
|
||||
if COMBAT_PAUSE.button_offset[0] <= 5:
|
||||
if COMBAT_PAUSE.button_offset[0] < 3:
|
||||
return True
|
||||
|
||||
return False
|
||||
|
@ -95,7 +95,8 @@ class ForgottenHallTeam(UI):
|
||||
if timeout.reached():
|
||||
logger.info('Team not prepared')
|
||||
return False
|
||||
chosen_list = [not self.appear(s) for s in seats]
|
||||
if all(chosen_list):
|
||||
logger.info("Team already prepared")
|
||||
return True
|
||||
if self.team_prepared():
|
||||
chosen_list = [not self.appear(s) for s in seats]
|
||||
if all(chosen_list):
|
||||
logger.info("Team already prepared")
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user