1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 05:08:19 +08:00

Fix: Oil limit too low

This commit is contained in:
LmeSzinc
2022-11-29 21:15:51 +08:00
parent a0526c74e5
commit 59183aeff1
3 changed files with 6 additions and 7 deletions

View File

@@ -101,7 +101,7 @@ class AutoSearchCombat(MapOperation, Combat, CampaignStatus):
if oil == 0:
logger.warning('Oil not found')
else:
if oil < self.config.StopCondition_OilLimit:
if oil < max(500, self.config.StopCondition_OilLimit):
logger.info('Reach oil limit')
self.auto_search_oil_limit_triggered = True
else: