Opt: Slower screenshot interval during combat

This commit is contained in:
LmeSzinc 2024-07-01 23:36:36 +08:00
parent fe7dc5ac3c
commit 0d54d22ac3

View File

@ -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: