mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 22:08:20 +08:00
Fix: Handle buff banner covering oil numbers in event
This commit is contained in:
@@ -107,6 +107,11 @@ class AutoSearchCombat(MapOperation, Combat):
|
||||
if oil < self.config.StopCondition_OilLimit:
|
||||
logger.info('Reach oil limit')
|
||||
self.auto_search_oil_limit_triggered = True
|
||||
else:
|
||||
if self.auto_search_oil_limit_triggered:
|
||||
logger.warning('auto_search_oil_limit_triggered but oil recovered, '
|
||||
'probably because of wrong OCR result before')
|
||||
self.auto_search_oil_limit_triggered = False
|
||||
checked = True
|
||||
|
||||
return checked
|
||||
|
||||
Reference in New Issue
Block a user