small fix

This commit is contained in:
Spmario233 2019-07-23 18:03:56 +08:00 committed by GitHub
parent 21457e2512
commit 951778cd96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1234,7 +1234,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
if(player.countCards('h')==0) return false; if(player.countCards('h')==0) return false;
if(!event.card) return false; if(!event.card) return false;
if(event.card.name!='sha') return false; if(event.card.name!='sha') return false;
if(!event.notLink()) return functiofalse; if(!event.notLink()) return false;
return game.hasPlayer(function(current){ return game.hasPlayer(function(current){
return current!=event.player&&get.distance(event.player,current)<=1; return current!=event.player&&get.distance(event.player,current)<=1;
}); });