This commit is contained in:
libccy 2017-01-29 18:11:17 +08:00
parent 3762b7e748
commit 139abca710
3 changed files with 26 additions and 2 deletions

View File

@ -240,6 +240,7 @@ card.swd={
yuchanqian:{
fullskin:true,
type:'jiqi',
addinfo:'杀',
autoViewAs:'sha',
ai:{
value:6,
@ -249,6 +250,7 @@ card.swd={
yuchankun:{
fullskin:true,
type:'jiqi',
addinfo:'药',
autoViewAs:'caoyao',
ai:{
value:6,
@ -259,6 +261,7 @@ card.swd={
fullskin:true,
type:'jiqi',
autoViewAs:'jiu',
addinfo:'酒',
savable:function(card,player,dying){
return dying==player;
},
@ -271,6 +274,7 @@ card.swd={
fullskin:true,
type:'jiqi',
autoViewAs:'tao',
addinfo:'桃',
savable:true,
ai:{
value:6,
@ -281,6 +285,7 @@ card.swd={
fullskin:true,
type:'jiqi',
autoViewAs:'xiangyuye',
addinfo:'叶',
ai:{
value:6,
useful:1
@ -290,6 +295,7 @@ card.swd={
fullskin:true,
type:'jiqi',
autoViewAs:'dujian',
addinfo:'箭',
ai:{
value:6,
useful:1
@ -298,6 +304,7 @@ card.swd={
yuchangen:{
fullskin:true,
type:'jiqi',
addinfo:'丹',
autoViewAs:'huanpodan',
ai:{
value:6,
@ -307,6 +314,7 @@ card.swd={
yuchandui:{
fullskin:true,
type:'jiqi',
addinfo:'雪',
autoViewAs:'xuejibingbao',
ai:{
value:6,

View File

@ -945,7 +945,7 @@
unfrequent:true,
},
show_phaseuse_prompt:{
name:'出牌阶段显示提示',
name:'出牌阶段提示',
init:true,
unfrequent:true,
},
@ -2395,6 +2395,17 @@
nei:'内奸',
fan:'反贼',
},
},
ban_identity3:{
name:'屏蔽身份3',
init:'off',
item:{
off:'关闭',
zhu:'主公',
zhong:'忠臣',
nei:'内奸',
fan:'反贼',
},
},
ai_strategy:{
name:'内奸策略',
@ -13668,7 +13679,9 @@
this.node.info.innerHTML=get.translation(card[0])+'<span> </span>'+card[1];
}
if(info.addinfo){
this.node.addinfo=ui.create.div('.range',this);
if(!this.node.addinfo){
this.node.addinfo=ui.create.div('.range',this);
}
this.node.addinfo.innerHTML=info.addinfo;
}
if(card[0]=='heart'||card[0]=='diamond'){

View File

@ -756,6 +756,9 @@ mode.identity={
ban_identity.push(get.config('ban_identity')||'off');
if(ban_identity[0]!='off'){
ban_identity.push(get.config('ban_identity2')||'off');
if(ban_identity[1]!='off'){
ban_identity.push(get.config('ban_identity3')||'off');
}
}
ban_identity.remove('off');
if(ban_identity.length){