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

raid_20221027

This commit is contained in:
YJGeng-Iriy
2022-10-28 00:44:47 +08:00
parent 787d5ab571
commit 2551107e10
10 changed files with 14 additions and 2 deletions

View File

@@ -41,6 +41,8 @@ def raid_name_shorten(name):
return 'BRISTOL'
elif name == 'raid_20220630':
return 'IRIS'
elif name == "raid_20221027":
return "MAID"
else:
raise ScriptError(f'Unknown raid name: {name}')
@@ -91,6 +93,8 @@ def raid_ocr(raid, mode):
return RaidCounter(button, letter=(148, 138, 123), threshold=128, lang='cnocr')
else:
return DigitCounter(button, letter=(148, 138, 123), threshold=128, lang='cnocr')
elif raid == "MAID":
return DigitCounter(button, letter=(99, 73, 57), threshold=128)
except KeyError:
raise ScriptError(f'Raid entrance asset not exists: {key}')