1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00
This commit is contained in:
sui-feng-cb
2025-08-28 00:07:14 +08:00
26 changed files with 172 additions and 42 deletions

View File

@@ -101,6 +101,15 @@ class ShopItemGrid(ItemGrid):
class ShopItemGrid_250814(ShopItemGrid):
item_class = ShopItem_250814
def get_soldout_count(self, image):
count = 0
for button in self.grids.buttons:
item = self.item_class(image, button)
if not item.is_valid:
count += 1
logger.attr('Item soldout', count)
return count
class ShopBase(UI):
_currency = 0