1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 08:38:20 +08:00

Add: Screenshot interval in non-combat to help reduce CPU

This commit is contained in:
LmeSzinc
2022-02-02 00:46:06 +08:00
parent df310b9d09
commit 7b0981fd48
17 changed files with 85 additions and 38 deletions

View File

@@ -209,7 +209,7 @@ class OSMapOperation(MapOrderHandler, MissionHandler, PortHandler, StorageHandle
continue
if self.appear_then_click(AUTO_SEARCH_REWARD, offset=(50, 50)):
# Sometimes appeared
self.device.screenshot_interval_set(0.1)
self.device.screenshot_interval_set()
continue
if self.handle_map_event():
self.interval_reset(MAP_EXIT)