mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Opt: Slower screenshot interval during combat
This commit is contained in:
parent
fe7dc5ac3c
commit
0d54d22ac3
@ -160,6 +160,7 @@ class Combat(CombatInteract, CombatPrepare, CombatState, CombatTeam, CombatSuppo
|
||||
skip_first_screenshot = True
|
||||
is_executing = True
|
||||
self.combat_state_reset()
|
||||
self.device.screenshot_interval_set('combat')
|
||||
while 1:
|
||||
if skip_first_screenshot:
|
||||
skip_first_screenshot = False
|
||||
@ -192,6 +193,8 @@ class Combat(CombatInteract, CombatPrepare, CombatState, CombatTeam, CombatSuppo
|
||||
if self.handle_battle_pass_notification():
|
||||
continue
|
||||
|
||||
self.device.screenshot_interval_set()
|
||||
|
||||
def _combat_can_again(self) -> bool:
|
||||
"""
|
||||
Pages:
|
||||
|
Loading…
Reference in New Issue
Block a user