👽️ 修复强制刷新

This commit is contained in:
‘KimigaiiWuyi’ 2023-11-08 17:17:47 +08:00
parent c4ab29611e
commit cbf137bfcd
3 changed files with 4 additions and 3 deletions

View File

@ -273,10 +273,10 @@ async def enka_to_dict(
weapon_info['nameTextMapHash'] = weapon_data['flat']['nameTextMapHash']
weapon_info['weaponIcon'] = weapon_data['flat']['icon']
weapon_info['weaponType'] = weaponHash2Type[
weapon_info['nameTextMapHash']
str(weapon_info['nameTextMapHash'])
]
weapon_info['weaponName'] = weaponHash2Name[
weapon_info['nameTextMapHash']
str(weapon_info['nameTextMapHash'])
]
weapon_info['weaponStar'] = weapon_data['flat']['rankLevel']
# 防止未精炼

View File

@ -2,7 +2,7 @@ from pathlib import Path
import httpx
char_list = ['lynette']
char_list = ['PlayerWater']
title = 'https://api.ambr.top/assets/UI/{}'
# title = 'https://enka.network/ui/{}'
icon_list = [

View File

@ -799,6 +799,7 @@
"水神",
"正义之神",
"芙柠娜",
"芙芙",
"芙卡洛斯"
]
}