1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2026-06-10 02:34:51 +00:00

fix(popup): make correction to ap exceed and add insufficient inventory for JP

This commit is contained in:
2023-11-17 14:09:34 +08:00
parent 84f78230d2
commit 8781e7830c
7 changed files with 19 additions and 5 deletions
+6
View File
@@ -94,6 +94,12 @@ class PopupHandler(ModuleBase):
return False
def handle_insufficient_inventory(self, interval=5) -> bool:
if self.appear_then_click(INSUFFICIENT_INVENTORY, interval=interval):
return True
return False
def handle_item_expired(self, interval=5) -> bool:
if self.appear_then_click(ITEM_EXPIRED, interval=interval):
return True