fix #325.
This commit is contained in:
parent
8682cd0808
commit
77d2179319
|
@ -855,13 +855,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
enable:'chooseToUse',
|
enable:'chooseToUse',
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return player.isTurnedOver()&&game.hasPlayer(current=>{
|
return player.isTurnedOver()&&game.hasPlayer(current=>{
|
||||||
return current.hasSkill('jsrgzhangdeng');
|
return current.hasSkill('jsrgzhangdeng')&¤t.isTurnedOver();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
viewAs:{name:'jiu',isCard:true},
|
viewAs:{name:'jiu',isCard:true},
|
||||||
viewAsFilter:function(player){
|
viewAsFilter:function(player){
|
||||||
return player.isTurnedOver()&&game.hasPlayer(current=>{
|
return player.isTurnedOver()&&game.hasPlayer(current=>{
|
||||||
return current.hasSkill('jsrgzhangdeng');
|
return current.hasSkill('jsrgzhangdeng')&¤t.isTurnedOver();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
filterCard:()=>false,
|
filterCard:()=>false,
|
||||||
|
@ -869,7 +869,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
precontent:function(){
|
precontent:function(){
|
||||||
player.logSkill('jsrgzhangdeng_jiu');
|
player.logSkill('jsrgzhangdeng_jiu');
|
||||||
var targets=game.filterPlayer(current=>{
|
var targets=game.filterPlayer(current=>{
|
||||||
return current.hasSkill('jsrgzhangdeng');
|
return current.hasSkill('jsrgzhangdeng')&¤t.isTurnedOver();
|
||||||
});
|
});
|
||||||
player.line(targets[0]);
|
player.line(targets[0]);
|
||||||
delete event.result.skill;
|
delete event.result.skill;
|
||||||
|
|
Loading…
Reference in New Issue