mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-08-16 20:10:29 +08:00
Feat: aggressive yellow coin preserve via port shop
This commit is contained in:
@@ -61,9 +61,13 @@ class OSStatus(UI):
|
||||
tasks = SelectedGrids(self.config.pending_task + self.config.waiting_task).filter(func).sort('next_run')
|
||||
return tasks.first_or_none()
|
||||
|
||||
@property
|
||||
def bought_all_yellow_coin_items_in_port_shop(self) -> bool:
|
||||
return self.config.cross_get("OpsiShop.Storage.Storage.BoughtAllYellowCoinItems", False)
|
||||
|
||||
@cached_property
|
||||
def yellow_coins_preserve(self):
|
||||
if self.is_cl1_enabled:
|
||||
if self.is_cl1_enabled and not self.bought_all_yellow_coin_items_in_port_shop:
|
||||
return 100000
|
||||
else:
|
||||
return 35000
|
||||
|
||||
Reference in New Issue
Block a user