mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Not having enough coins to buy skin boxes
This commit is contained in:
parent
29d4e69fde
commit
80bb113c66
@ -199,7 +199,11 @@ class ShopBase(UI):
|
||||
if self.config.GeneralShop_BuySkinBox:
|
||||
if (not item.is_known_item()) and item.amount == 1 and item.cost == 'Coins' and item.price == 7000:
|
||||
logger.info(f'Item {item} is considered to be an equip skin box')
|
||||
return True
|
||||
try:
|
||||
if self._shop_gold_coins > item.price:
|
||||
return True
|
||||
except AttributeError:
|
||||
logger.warning('Missing _shop_gold_coins')
|
||||
|
||||
return False
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user