mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Loop clicking in using AP boxes because forget to take screenshot
This commit is contained in:
parent
f124737032
commit
23dc33570a
@ -175,9 +175,10 @@ class ActionPointHandler(UI):
|
||||
|
||||
# AP boxes have an animation to show
|
||||
self.device.sleep(0.3)
|
||||
self.device.screenshot()
|
||||
cost = self.action_point_get_cost(zone, pinned)
|
||||
for _ in range(12):
|
||||
self.device.screenshot()
|
||||
|
||||
# End
|
||||
if self.action_point_get_current() < self.config.OS_ACTION_POINT_PRESERVE:
|
||||
logger.info(f'Reach the limit of action points, preserve={self.config.OS_ACTION_POINT_PRESERVE}')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user