mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-08 22:56:05 +08:00
Fix: Shortest commission filter
This commit is contained in:
@@ -86,7 +86,6 @@ class CampaignRun(UI):
|
|||||||
if oil_check and self.config.StopCondition_OilLimit:
|
if oil_check and self.config.StopCondition_OilLimit:
|
||||||
if OCR_OIL.ocr(self.device.image) < self.config.StopCondition_OilLimit:
|
if OCR_OIL.ocr(self.device.image) < self.config.StopCondition_OilLimit:
|
||||||
logger.hr('Triggered stop condition: Oil limit')
|
logger.hr('Triggered stop condition: Oil limit')
|
||||||
self.config.Scheduler_Enable = False
|
|
||||||
self.config.task_delay(minute=(120, 240))
|
self.config.task_delay(minute=(120, 240))
|
||||||
return True
|
return True
|
||||||
# If Get a New Ship
|
# If Get a New Ship
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ COMMISSION_FILTER = Filter(
|
|||||||
preset=('shortest')
|
preset=('shortest')
|
||||||
)
|
)
|
||||||
SHORTEST_FILTER = """
|
SHORTEST_FILTER = """
|
||||||
0:30
|
0:20 > 0:30
|
||||||
> 1 > 1:10 > 1:20 > 1:30 > 1:40 > 1:45
|
> 1 > 1:10 > 1:20 > 1:30 > 1:40 > 1:45
|
||||||
> 2 > 2:15 > 2:30 > 2:40
|
> 2 > 2:15 > 2:30 > 2:40
|
||||||
> 3 > 3:20
|
> 3 > 3:20
|
||||||
|
|||||||
Reference in New Issue
Block a user