更新收益曲线

This commit is contained in:
CMHopeSunshine 2022-12-26 20:02:14 +08:00
parent ccbe26e5de
commit befe4a5efd
4 changed files with 33 additions and 10 deletions

View File

@ -843,8 +843,21 @@
"深林",
"草套"
],
"礼冠": [
"礼冠"
"祭冰之人": [
"祭冰之人",
"冰礼冠"
],
"祭火之人": [
"祭火之人",
"火礼冠"
],
"祭水之人": [
"祭水之人",
"水礼冠"
],
"祭雷之人": [
"祭雷之人",
"雷礼冠"
],
"沙上楼阁史话": [
"沙上楼阁史话",

View File

@ -15,7 +15,11 @@
"神里绫人",
"妮露",
"莱依拉",
"艾尔海森"
"艾尔海森",
"旅行者风",
"旅行者岩",
"旅行者雷",
"旅行者草"
],
"法器": [
"丽莎",
@ -97,7 +101,8 @@
"早柚",
"鹿野院平藏",
"流浪者",
"珐露珊"
"珐露珊",
"旅行者风"
],
"雷": [
"丽莎",
@ -110,7 +115,8 @@
"八重神子",
"久岐忍",
"多莉",
"赛诺"
"赛诺",
"旅行者雷"
],
"水": [
"芭芭拉",
@ -142,14 +148,16 @@
"阿贝多",
"五郎",
"荒泷一斗",
"云堇"
"云堇",
"旅行者岩"
],
"草": [
"柯莱",
"提纳里",
"纳西妲",
"瑶瑶",
"艾尔海森"
"艾尔海森",
"旅行者草"
]
}
},

View File

@ -5,7 +5,7 @@ API: Dict[str, str] = {
'角色图鉴': '{proxy}https://raw.githubusercontent.com/CMHopeSunshine/GenshinWikiMap/master/results/character_map/{name}.jpg',
'角色攻略': '{proxy}https://raw.githubusercontent.com/CMHopeSunshine/LittlePaimonRes/main/genshin_guide/guide/{name}.jpg',
'角色材料': '{proxy}https://raw.githubusercontent.com/Nwflower/genshin-atlas/master/material%20for%20role/{name}.png',
'收益曲线': 'https://static.cherishmoon.fun/LittlePaimon/blue/{name}.jpg',
'收益曲线': '{proxy}https://raw.githubusercontent.com/CMHopeSunshine/LittlePaimonRes/main/genshin_guide/curve/{name}.jpg',
'参考面板': '{proxy}https://raw.githubusercontent.com/CMHopeSunshine/LittlePaimonRes/main/genshin_guide/panel/{name}.jpg',
'武器图鉴': '{proxy}https://raw.githubusercontent.com/Nwflower/genshin-atlas/master/weapon/{name}.png',
'圣遗物图鉴': '{proxy}https://raw.githubusercontent.com/Nwflower/genshin-atlas/master/artifact/{name}.png',

View File

@ -84,8 +84,10 @@ def get_match_alias(name: str, types: Union[List[ALIAS_TYPE], ALIAS_TYPE] = None
matches[type] = []
if type == '角色':
if name.startswith(('', '', '', '', '', '', '')) and name.endswith(
('', '主角', '', '', '旅行者')):
matches[type].append(name if name.endswith(('', '')) else f'{name[0]}')
('', '主角', '旅行者')):
matches[type].append(f'旅行者{name[0]}')
elif name.startswith('旅行者') and name.endswith(('', '', '', '', '', '', '')):
matches[type].append(name)
else:
for alias in alias_list.values():
if name in alias: