mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-08-16 20:10:29 +08:00
Opt: use yellow_coins_preserve aggressively
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
from module.base.decorator import cached_property
|
||||
from module.base.timer import Timer
|
||||
from module.combat.assets import GET_ITEMS_1
|
||||
from module.config.utils import get_os_reset_remain
|
||||
@@ -265,13 +264,6 @@ class OSShop(PortShop, AkashiShop):
|
||||
self.os_shop_buy(select_func=self.os_shop_get_item_to_buy_in_akashi)
|
||||
self.ui_back(appear_button=PORT_SUPPLY_CHECK, check_button=self.is_in_map, skip_first_screenshot=True)
|
||||
|
||||
@cached_property
|
||||
def yellow_coins_preserve(self):
|
||||
if self.is_cl1_enabled:
|
||||
return 100000
|
||||
else:
|
||||
return 35000
|
||||
|
||||
def get_currency_coins(self, item):
|
||||
if item.cost == 'YellowCoins':
|
||||
if get_os_reset_remain() == 0:
|
||||
|
||||
Reference in New Issue
Block a user