mirror of
https://github.com/baiqwerdvd/StarRailUID.git
synced 2025-05-07 12:43:25 +08:00
🐛 修复字段问题
This commit is contained in:
parent
dbd971fd59
commit
333541a361
@ -27,7 +27,7 @@ class Relic(TypedDict):
|
||||
|
||||
|
||||
class SubAffix(TypedDict):
|
||||
affixID: int
|
||||
affixId: int
|
||||
cnt: int
|
||||
step: int
|
||||
|
||||
|
@ -222,10 +222,10 @@ async def get_data(char: Avatar, sr_data: MihomoData, sr_uid: str):
|
||||
if relic.get('subAffixList'):
|
||||
for sub_affix in relic['subAffixList']:
|
||||
sub_affix_temp = {}
|
||||
sub_affix_temp['SubAffixID'] = sub_affix['affixID']
|
||||
sub_affix_temp['SubAffixID'] = sub_affix['affixId']
|
||||
sub_affix_property, value = await cal_relic_sub_affix(
|
||||
relic_id=relic['tid'],
|
||||
affix_id=sub_affix['affixID'],
|
||||
affix_id=sub_affix['affixId'],
|
||||
cnt=sub_affix['cnt'],
|
||||
step=sub_affix['step'] if 'step' in sub_affix else 0,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user