mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 02:48:23 +08:00
Opt: Reuse screenshots in combat_status
This commit is contained in:
@@ -49,11 +49,7 @@ class Combat(Combat_, MapEventHandler):
|
||||
# if balance_hp:
|
||||
# self.hp_balance()
|
||||
|
||||
while 1:
|
||||
if skip_first_screenshot:
|
||||
skip_first_screenshot = False
|
||||
else:
|
||||
self.device.screenshot()
|
||||
for _ in self.loop():
|
||||
|
||||
if self.appear(BATTLE_PREPARATION):
|
||||
if self.handle_combat_automation_set(auto=auto == 'combat_auto'):
|
||||
|
||||
Reference in New Issue
Block a user