取消带_faq字符技能的拼音显示

This commit is contained in:
copcap 2023-09-13 16:55:15 +08:00
parent 76552f2225
commit 29ec37a01f
No known key found for this signature in database
GPG Key ID: 9AE7B8AF097EC926
1 changed files with 2 additions and 2 deletions

View File

@ -53028,7 +53028,7 @@
this.classList.add('active');
var skillname=get.translation(this.link);
var skilltranslationinfo=get.skillInfoTranslation(this.link);
if(lib.config.show_skillnamepinyin&&skillname!='阵亡'){
if(lib.config.show_skillnamepinyin&&skillname!='阵亡'&&skillname.indexOf('_faq')==-1){
var skillpinyin=get.pinyin(skillname);
intro2.innerHTML='<span style="font-weight:bold;margin-right:5px">'+skillname+'</span>'+'<span style="font-size:14px;font-family:SimHei,STHeiti,sans-serif">'+'['+skillpinyin+']'+'</span>'+' '+skilltranslationinfo;
}else{
@ -53046,7 +53046,7 @@
for(var i=0;i<derivation.length;i++){
var derivationname=get.translation(derivation[i]);
var derivationtranslationinfo=get.skillInfoTranslation(derivation[i]);
if(lib.config.show_skillnamepinyin&&derivationname.length<=5){
if(lib.config.show_skillnamepinyin&&derivationname.length<=5&&derivation[i].indexOf('_faq')==-1){
var derivationpinyin=get.pinyin(derivationname);
intro2.innerHTML+='<br><br><span style="font-weight:bold;margin-right:5px">'+derivationname+'</span>'+'<span style="font-size:14px;font-family:SimHei,STHeiti,sans-serif">'+'['+derivationpinyin+']'+'</span>'+' '+derivationtranslationinfo;
}else{