1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Revert "Fix: use cnocr for CHANGWU_OCR_REMAIN_*"

This reverts commit 5fceeddcb1.
This commit is contained in:
sui-feng-cb 2026-02-14 12:25:33 +08:00
parent 5fceeddcb1
commit 95c1128c73

View File

@ -165,7 +165,7 @@ def raid_ocr(raid, mode):
if mode == 'ex':
return Digit(button, letter=(255, 239, 215), threshold=128)
else:
return DigitCounter(button, lang='cnocr', letter=(154, 148, 133), threshold=128)
return DigitCounter(button, letter=(154, 148, 133), threshold=128)
def pt_ocr(raid):
@ -206,7 +206,12 @@ class Raid(MapOperation, RaidCombat, CampaignEvent):
Game devs are too asshole to drop oil display for UI design
https://github.com/LmeSzinc/AzurLaneAutoScript/issues/5214
"""
return False
if self.config.Campaign_Event in [
'raid_20240328',
'raid_20260212',
]:
return False
return True
def check_oil(self):
limit = max(500, self.config.StopCondition_OilLimit)