Add files via upload

This commit is contained in:
Spmario233 2020-02-08 12:23:48 +08:00 committed by GitHub
parent 26d6fbe6e8
commit 255b9510da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1150,7 +1150,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
direct:true,
filter:function (event,player){
var evt=event.getParent();
return (evt&&evt.name=='juedou'&&evt[player==evt.player?'targetCards':'playerCards'])>0;
return (evt&&evt.name=='juedou'&&evt[player==evt.player?'targetCards':'playerCards'].length)>0;
},
content:function (){
"step 0"