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