guohe,shunshou lib.filter参数修复
This commit is contained in:
parent
7b994e53cb
commit
18b78a950a
|
@ -1306,7 +1306,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
filterTarget:function(card,player,target){
|
filterTarget:function(card,player,target){
|
||||||
if(player==target) return false;
|
if(player==target) return false;
|
||||||
return target.hasCard(card=>lib.filter.canBeGained(card,target,player),get.is.single()?'he':'hej');
|
return target.hasCard(card=>lib.filter.canBeGained(card,player,target),get.is.single()?'he':'hej');
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
let pos=get.is.single()?'he':'hej';
|
let pos=get.is.single()?'he':'hej';
|
||||||
|
@ -1563,7 +1563,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
filterTarget:function(card,player,target){
|
filterTarget:function(card,player,target){
|
||||||
if(player==target) return false;
|
if(player==target) return false;
|
||||||
return target.hasCard(card=>lib.filter.canBeDiscarded(card,target,player),get.is.single()?'he':'hej');
|
return target.hasCard(card=>lib.filter.canBeDiscarded(card,player,target),get.is.single()?'he':'hej');
|
||||||
},
|
},
|
||||||
defaultYingbianEffect:'add',
|
defaultYingbianEffect:'add',
|
||||||
content:function(){
|
content:function(){
|
||||||
|
|
Loading…
Reference in New Issue