mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 15:49:25 +08:00
Opt: Reuse screenshots in combat_status
This commit is contained in:
@@ -218,11 +218,7 @@ class Raid(MapOperation, RaidCombat, CampaignEvent):
|
||||
self.handle_task_balancer()
|
||||
return True
|
||||
|
||||
while 1:
|
||||
if skip_first_screenshot:
|
||||
skip_first_screenshot = False
|
||||
else:
|
||||
self.device.screenshot()
|
||||
for _ in self.loop():
|
||||
|
||||
if self.appear(BATTLE_PREPARATION, offset=(30, 20)):
|
||||
if self.handle_combat_automation_set(auto=auto == 'combat_auto'):
|
||||
|
||||
Reference in New Issue
Block a user