mirror of
https://github.com/baiqwerdvd/StarRailUID.git
synced 2025-05-05 19:23:45 +08:00
parent
0807821dd6
commit
1a178c99c8
@ -16,7 +16,7 @@ from ..utils.error_reply import CHAR_HINT
|
|||||||
from ..utils.fonts.first_world import fw_font_28
|
from ..utils.fonts.first_world import fw_font_28
|
||||||
from ..utils.map.SR_MAP_PATH import RelicId2Rarity
|
from ..utils.map.SR_MAP_PATH import RelicId2Rarity
|
||||||
from ..utils.excel.read_excel import light_cone_ranks
|
from ..utils.excel.read_excel import light_cone_ranks
|
||||||
from ..utils.map.name_covert import alias_to_char_name
|
from ..utils.map.name_covert import name_to_avatar_id, alias_to_char_name
|
||||||
from ..utils.resource.RESOURCE_PATH import (
|
from ..utils.resource.RESOURCE_PATH import (
|
||||||
RELIC_PATH,
|
RELIC_PATH,
|
||||||
SKILL_PATH,
|
SKILL_PATH,
|
||||||
@ -590,6 +590,10 @@ async def get_char_data(
|
|||||||
) -> Union[Dict, str]:
|
) -> Union[Dict, str]:
|
||||||
player_path = PLAYER_PATH / str(sr_uid)
|
player_path = PLAYER_PATH / str(sr_uid)
|
||||||
SELF_PATH = player_path / 'SELF'
|
SELF_PATH = player_path / 'SELF'
|
||||||
|
if "开拓者" in str(char_name):
|
||||||
|
char_name = "开拓者"
|
||||||
|
char_id = await name_to_avatar_id(char_name)
|
||||||
|
if char_id == '':
|
||||||
char_name = await alias_to_char_name(char_name)
|
char_name = await alias_to_char_name(char_name)
|
||||||
if char_name is False:
|
if char_name is False:
|
||||||
return "请输入正确的角色名"
|
return "请输入正确的角色名"
|
||||||
|
@ -44,7 +44,8 @@
|
|||||||
"天才俱乐部#83",
|
"天才俱乐部#83",
|
||||||
"天才俱乐部第83席",
|
"天才俱乐部第83席",
|
||||||
"天才俱乐部第八十三席",
|
"天才俱乐部第八十三席",
|
||||||
"黑塔女士"
|
"黑塔女士",
|
||||||
|
"转圈圈"
|
||||||
],
|
],
|
||||||
"1003": [
|
"1003": [
|
||||||
"姬子",
|
"姬子",
|
||||||
@ -127,6 +128,7 @@
|
|||||||
"骚狐狸"
|
"骚狐狸"
|
||||||
],
|
],
|
||||||
"8002": [
|
"8002": [
|
||||||
|
"开拓者",
|
||||||
"开拓者物理",
|
"开拓者物理",
|
||||||
"爷",
|
"爷",
|
||||||
"星爷",
|
"星爷",
|
||||||
@ -141,6 +143,7 @@
|
|||||||
"毁灭主"
|
"毁灭主"
|
||||||
],
|
],
|
||||||
"8004": [
|
"8004": [
|
||||||
|
"开拓者",
|
||||||
"开拓者火",
|
"开拓者火",
|
||||||
"火主",
|
"火主",
|
||||||
"存护主"
|
"存护主"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user