This commit is contained in:
libccy 2017-09-25 23:56:37 +08:00
parent 0d8b4f8bc6
commit 1e04bbfe93
3 changed files with 10 additions and 1 deletions

View File

@ -646,6 +646,9 @@ game.import('card',function(lib,game,ui,get,ai,_status){
trigger:{player:'shaBegin'},
priority:5,
logTarget:'target',
check:function(event,player){
return get.attitude(player,event.target)<=0;
},
filter:function(event,player){
return event.target.countCards('he');
},

View File

@ -1029,7 +1029,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
'step 1'
if(target.countCards('h','shan')){
player.viewHandcards(target);
player.useCard({name:'sha'},target);
player.useCard({name:'sha'},target,false);
player.storage.weikui2=target;
player.addTempSkill('weikui2');
}

View File

@ -19155,6 +19155,12 @@
if(this.node.background.innerHTML.length>1) this.node.background.classList.add('tight');
else this.node.background.classList.remove('tight');
}
if(!lib.card[bg].fullborder&&this.node.avatar&&this.node.framebg){
this.node.avatar.remove();
this.node.framebg.remove();
delete this.node.avatar;
delete this.node.framebg;
}
if(info.noname&&!this.classList.contains('button')){
this.node.name.style.display='none';
}