变量名ybtype=>typeinfo

This commit is contained in:
kuangshen04 2023-11-16 09:59:26 +08:00
parent c2777b48da
commit 9f2edb1acc
1 changed files with 7 additions and 7 deletions

View File

@ -61911,18 +61911,18 @@
uiintro.add('<div class="text center">来源:'+get.translation(lib.card[name].derivationpack+'_card_config')+'包</div>');
}
}
var ybtype='';
let typeinfo='';
if(lib.card[name].unique){
ybtype+=('特殊'+get.translation(lib.card[name].type)+'牌');
typeinfo+=('特殊'+get.translation(lib.card[name].type)+'牌');
}
else{
if(lib.card[name].type&&lib.translate[lib.card[name].type]) ybtype+=(get.translation(lib.card[name].type)+'牌');
else if(lib.card[name].type&&lib.translate[lib.card[name].type]){
typeinfo+=(get.translation(lib.card[name].type)+'牌');
}
if(get.subtype(name,false)){
ybtype+=('-'+get.translation(get.subtype(name,false)));
typeinfo+=('-'+get.translation(get.subtype(name,false)));
}
if(ybtype){
uiintro.add('<div class="text center">'+ybtype+'</div>');
if(typeinfo){
uiintro.add('<div class="text center">'+typeinfo+'</div>');
}
if(lib.card[name].unique&&lib.card[name].type=='equip'){
if(lib.cardPile.guozhan&&lib.cardPack.guozhan.contains(name)){