mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 11:07:20 +08:00
Opt: General support for as bs cs ds maps
This commit is contained in:
@@ -28,9 +28,9 @@ class CampaignOcr(ModuleBase):
|
||||
else:
|
||||
if name.isdigit():
|
||||
return int(name)
|
||||
elif name in ['a', 'c', 'sp', 'ex_sp']:
|
||||
elif name in ['a', 'c', 'as', 'cs', 'sp', 'ex_sp']:
|
||||
return 1
|
||||
elif name in ['b', 'd', 'ex_ex']:
|
||||
elif name in ['b', 'd', 'bs', 'cs', 'ex_ex']:
|
||||
return 2
|
||||
else:
|
||||
raise CampaignNameError
|
||||
|
||||
Reference in New Issue
Block a user