This commit is contained in:
libccy 2017-03-27 18:01:48 +08:00
parent 2667a9e58b
commit b29313dade
3 changed files with 5 additions and 5 deletions

View File

@ -1098,9 +1098,9 @@ character.hearth={
frequent:true,
usable:1,
filter:function(event){
return event.target.num('e',function(card){
return event.target.hasCard(function(card){
return !get.info(card).unique;
})>0;
},'e');
},
content:function(){
player.gain(game.createCard(trigger.target.getCards('e',function(card){

View File

@ -2684,9 +2684,9 @@ character.yxs={
enable:'phaseUse',
usable:1,
filterTarget:function(card,player,target){
return player!=target&&target.num('e',function(card){
return player!=target&&target.hasCard(function(card){
return !get.info(card).unique;
});
},'e');
},
check:function(card){
return 6-ai.get.value(card);

View File

@ -434,7 +434,7 @@ mode.guozhan={
if(ui.discardPile.childNodes[i].name=='taipingyaoshu') return true;
}
return game.hasPlayer(function(current){
return current!=player&&current.num('ej','taipingyaoshu');
return current!=player&&current.countCards('ej','taipingyaoshu');
});
},
content:function(){