郭图【诿解】hiddenCard优化
This commit is contained in:
parent
6553e13589
commit
8fc7a2c27a
|
@ -885,7 +885,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
},
|
||||
hiddenCard(player,name){
|
||||
if(!lib.inpile.includes(name)) return false;
|
||||
if(!lib.inpile.includes(name)||_status.currentPhase===player||player.isTempBanned('olweijie')) return false;
|
||||
return get.type(name)=='basic'&&game.hasPlayer(target=>{
|
||||
return get.distance(player,target)==1&&target.countCards('h');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue