1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-07-25 06:33:24 +08:00

Opt: share screenshot for oil and coin reading, and cache limit

This commit is contained in:
positnuec
2026-07-24 01:09:20 +08:00
parent a64efd6134
commit 6767c07d04
4 changed files with 98 additions and 111 deletions

View File

@@ -99,8 +99,7 @@ class CampaignRun(CampaignEvent, ShopStatus):
# Oil limit
if oil_check:
self.status_get_gems()
self.get_coin()
_oil = self.get_oil()
_oil, _ = self.get_oil_and_coin()
if _oil < max(500, self.config.StopCondition_OilLimit):
logger.hr('Triggered stop condition: Oil limit')
self.config.task_delay(minute=60)