mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-25 19:25:01 +08:00
Revert "Fix: use cnocr for CHANGWU_OCR_REMAIN_*"
This reverts commit 5fceeddcb1.
This commit is contained in:
@@ -165,7 +165,7 @@ def raid_ocr(raid, mode):
|
|||||||
if mode == 'ex':
|
if mode == 'ex':
|
||||||
return Digit(button, letter=(255, 239, 215), threshold=128)
|
return Digit(button, letter=(255, 239, 215), threshold=128)
|
||||||
else:
|
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):
|
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
|
Game devs are too asshole to drop oil display for UI design
|
||||||
https://github.com/LmeSzinc/AzurLaneAutoScript/issues/5214
|
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):
|
def check_oil(self):
|
||||||
limit = max(500, self.config.StopCondition_OilLimit)
|
limit = max(500, self.config.StopCondition_OilLimit)
|
||||||
|
|||||||
Reference in New Issue
Block a user