diff --git a/game/game.js b/game/game.js
index 305a5a2cf..375fb084b 100644
--- a/game/game.js
+++ b/game/game.js
@@ -52115,7 +52115,13 @@
}
var intro=ui.create.div('.characterintro',get.characterIntro(name),uiintro);
if(lib.config.show_characternamepinyin){
- intro.innerHTML=''+get.rawName(name)+''+''+'['+get.pinyin(get.rawName(name))+']'+''+' | '+get.translation(lib.character[name][0])+' | '+get.translation(lib.character[name][1])+' | '+lib.character[name][2]+'
'+get.characterIntro(name);
+ var charactername=get.rawName(name);
+ var characterpinyin=get.pinyin(charactername);
+ var charactersex=get.translation(lib.character[name][0]);
+ var charactergroup=get.translation(lib.character[name][1]);
+ var characterhp=lib.character[name][2];
+ var characterintroinfo=get.characterIntro(name);
+ intro.innerHTML=''+charactername+''+''+'['+characterpinyin+']'+''+' | '+charactersex+' | '+charactergroup+' | '+characterhp+'
'+characterintroinfo;
}
var intro2=ui.create.div('.characterintro.intro2',uiintro);
var list=get.character(name,3)||[];
@@ -52135,10 +52141,13 @@
current.classList.remove('active');
}
this.classList.add('active');
- if(lib.config.show_skillnamepinyin){
- intro2.innerHTML=''+get.translation(this.link)+''+''+'['+get.pinyin(get.translation(this.link))+']'+''+' '+get.skillInfoTranslation(this.link);
+ var skillname=get.translation(this.link);
+ var skilltranslationinfo=get.skillInfoTranslation(this.link);
+ if(lib.config.show_skillnamepinyin&&skillname!='阵亡'){
+ var skillpinyin=get.pinyin(skillname);
+ intro2.innerHTML=''+skillname+''+''+'['+skillpinyin+']'+''+' '+skilltranslationinfo;
}else{
- intro2.innerHTML=''+get.translation(this.link)+''+get.skillInfoTranslation(this.link);
+ intro2.innerHTML=''+skillname+''+skilltranslationinfo;
}
var info=get.info(this.link);
var skill=this.link;
@@ -52150,10 +52159,13 @@
derivation=[derivation];
}
for(var i=0;i
'+get.translation(derivation[i])+''+''+'['+get.pinyin(get.translation(derivation[i]))+']'+''+' '+get.skillInfoTranslation(derivation[i]);
+ var derivationname=get.translation(derivation[i]);
+ var derivationtranslationinfo=get.skillInfoTranslation(derivation[i]);
+ if(lib.config.show_skillnamepinyin&&derivationname.length<=5){
+ var derivationpinyin=get.pinyin(derivationname);
+ intro2.innerHTML+='
'+derivationname+''+''+'['+derivationpinyin+']'+''+' '+derivationtranslationinfo;
}else{
- intro2.innerHTML+='
'+get.translation(derivation[i])+''+get.skillInfoTranslation(derivation[i]);
+ intro2.innerHTML+='
'+derivationname+''+derivationtranslationinfo;
}
}
}