fix
This commit is contained in:
parent
428c68b698
commit
1baf3a87b3
|
@ -80,6 +80,8 @@ character.sp={
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
if(!event.targets) return false;
|
if(!event.targets) return false;
|
||||||
if(_status.currentPhase!=player) return false;
|
if(_status.currentPhase!=player) return false;
|
||||||
|
var type=get.type(event.card,'trick');
|
||||||
|
if(type!='basic'&&type!='trick') return false;
|
||||||
return game.hasPlayer(function(target){
|
return game.hasPlayer(function(target){
|
||||||
return !event.targets.contains(target)&&target.num('he')>0;
|
return !event.targets.contains(target)&&target.num('he')>0;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue