1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-07-29 07:00:09 +08:00

Add: [CN] horror coalition assets

This commit is contained in:
LmeSzinc
2026-07-23 23:42:05 +08:00
parent 5d41cc40de
commit e69e3cd998
16 changed files with 59 additions and 7 deletions

View File

@@ -60,6 +60,8 @@ class Coalition(CoalitionCombat, CampaignEvent):
ocr = DALPtOcr(DAL_PT_OCR, name='OCR_PT', letter=(255, 213, 69), threshold=128)
elif event == 'coalition_20260122':
ocr = Digit(FASHION_PT_OCR, name='OCR_PT', letter=(41, 40, 40), threshold=128)
elif event == 'coalition_20260723':
ocr = Digit(HORROR_PT_OCR, name='OCR_PT', lang='cnocr', letter=(228, 230, 237), threshold=256)
else:
logger.error(f'ocr object is not defined in event {event}')
raise ScriptError
@@ -83,6 +85,8 @@ class Coalition(CoalitionCombat, CampaignEvent):
"""
if self.config.Campaign_Event == 'coalition_20260122':
return False
if self.config.Campaign_Event == 'coalition_20260723':
return False
return True
def triggered_stop_condition(self, oil_check=False, pt_check=False):