变量名ybtype=>typeinfo
This commit is contained in:
parent
c2777b48da
commit
9f2edb1acc
14
game/game.js
14
game/game.js
|
@ -61911,18 +61911,18 @@
|
||||||
uiintro.add('<div class="text center">来源:'+get.translation(lib.card[name].derivationpack+'_card_config')+'包</div>');
|
uiintro.add('<div class="text center">来源:'+get.translation(lib.card[name].derivationpack+'_card_config')+'包</div>');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var ybtype='';
|
let typeinfo='';
|
||||||
if(lib.card[name].unique){
|
if(lib.card[name].unique){
|
||||||
ybtype+=('特殊'+get.translation(lib.card[name].type)+'牌');
|
typeinfo+=('特殊'+get.translation(lib.card[name].type)+'牌');
|
||||||
}
|
}
|
||||||
else{
|
else if(lib.card[name].type&&lib.translate[lib.card[name].type]){
|
||||||
if(lib.card[name].type&&lib.translate[lib.card[name].type]) ybtype+=(get.translation(lib.card[name].type)+'牌');
|
typeinfo+=(get.translation(lib.card[name].type)+'牌');
|
||||||
}
|
}
|
||||||
if(get.subtype(name,false)){
|
if(get.subtype(name,false)){
|
||||||
ybtype+=('-'+get.translation(get.subtype(name,false)));
|
typeinfo+=('-'+get.translation(get.subtype(name,false)));
|
||||||
}
|
}
|
||||||
if(ybtype){
|
if(typeinfo){
|
||||||
uiintro.add('<div class="text center">'+ybtype+'</div>');
|
uiintro.add('<div class="text center">'+typeinfo+'</div>');
|
||||||
}
|
}
|
||||||
if(lib.card[name].unique&&lib.card[name].type=='equip'){
|
if(lib.card[name].unique&&lib.card[name].type=='equip'){
|
||||||
if(lib.cardPile.guozhan&&lib.cardPack.guozhan.contains(name)){
|
if(lib.cardPile.guozhan&&lib.cardPack.guozhan.contains(name)){
|
||||||
|
|
Loading…
Reference in New Issue