mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-18 19:33:33 +08:00
Fix: Menu extraction
- Delay task if reach oil limit
This commit is contained in:
@@ -87,6 +87,7 @@ class CampaignRun(UI):
|
||||
if OCR_OIL.ocr(self.device.image) < self.config.StopCondition_OilLimit:
|
||||
logger.hr('Triggered stop condition: Oil limit')
|
||||
self.config.Scheduler_Enable = False
|
||||
self.config.task_delay(minute=(120, 240))
|
||||
return True
|
||||
# If Get a New Ship
|
||||
if self.config.StopCondition_GetNewShip and self.campaign.config.GET_SHIP_TRIGGERED:
|
||||
|
||||
Reference in New Issue
Block a user