mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 12:17:20 +08:00
Fix: 修复停止条件: 如果船坞已满无效的问题
(其实是没写)
This commit is contained in:
@@ -84,11 +84,15 @@ class CampaignRun(CampaignUI):
|
||||
self.config.config.set('Setting', 'if_time_reach', '0')
|
||||
self.config.save()
|
||||
return True
|
||||
# Oil limit
|
||||
# Dock full limit
|
||||
if self.config.STOP_IF_DOCK_FULL and self.campaign.config.DOCK_FULL_TRIGGERED:
|
||||
logger.hr('Triggered dock full limit')
|
||||
return True
|
||||
# Emotion limit
|
||||
if self.config.STOP_IF_TRIGGER_EMOTION_LIMIT and self.campaign.config.EMOTION_LIMIT_TRIGGERED:
|
||||
logger.hr('Triggered emotion limit')
|
||||
return True
|
||||
# Emotion limit
|
||||
# Oil limit
|
||||
if self.config.STOP_IF_OIL_LOWER_THAN:
|
||||
if OCR_OIL.ocr(self.device.image) < self.config.STOP_IF_OIL_LOWER_THAN:
|
||||
logger.hr('Triggered oil limit')
|
||||
|
||||
Reference in New Issue
Block a user