mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-26 20:57:54 +08:00
Fix: Out of action point boxes
This commit is contained in:
@@ -221,5 +221,10 @@ class ActionPointHandler(UI):
|
|||||||
self.action_point_use()
|
self.action_point_use()
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if sum(self._action_point_box[1:]) <= 0:
|
||||||
|
logger.info('No more action point boxes')
|
||||||
|
self.action_point_quit()
|
||||||
|
raise ActionPointLimit
|
||||||
|
|
||||||
logger.warning('Failed to get action points after 12 trial')
|
logger.warning('Failed to get action points after 12 trial')
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user