Merge pull request #914 from lieren2023/lieren2023-patch-4

bugfix
This commit is contained in:
Spmario233 2024-02-04 23:13:53 +08:00 committed by GitHub
commit 7fcab33cf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View File

@ -19107,6 +19107,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
冈崎汐:['Okazaki','Ushio'], 冈崎汐:['Okazaki','Ushio'],
神山识:['Kamiyama','Shiki'], 神山识:['Kamiyama','Shiki'],
佐藤雏:['Satou','Hina'], 佐藤雏:['Satou','Hina'],
:['Kagari'],
}, },
}; };
}); });

View File

@ -61,6 +61,7 @@ var pinyin_dict_polyphone = {
"安卡": " kǎ", "安卡": " kǎ",
"卡玛": "kǎ ", "卡玛": "kǎ ",
"梼杌": "táo ", "梼杌": "táo ",
"亚煞极": " shà ",
"库特莉亚芙卡": " kǎ", "库特莉亚芙卡": " kǎ",
"露娜": "lù ", "露娜": "lù ",
@ -174,6 +175,10 @@ var pinyin_dict_polyphone = {
"沾露": " lù", "沾露": " lù",
"禁咒": "jìn ", "禁咒": "jìn ",
"挟令": "xié lìng", "挟令": "xié lìng",
"七煞": " shà",
"冥煞": " shà",
"虎煞": " shà",
"煞魂": "shà ",
// END // END
"撒贝宁": "sà ", "撒贝宁": "sà ",
"卡比": "kǎ ", "卡比": "kǎ ",

View File

@ -2873,7 +2873,7 @@ export class Get extends Uninstantable {
return lib.characterInitFilter[node.name](tag) !== false; return lib.characterInitFilter[node.name](tag) !== false;
}); });
if(initFilters.length){ if(initFilters.length){
const str = initFilters.reduce((strx, stry) => strx + lib.InitFilter[stry] + '<br>').slice(0, -4); const str = initFilters.reduce((strx, stry) => strx + lib.InitFilter[stry] + '<br>', '').slice(0, -4);
uiintro.addText(str); uiintro.addText(str);
} }
} }