Update sp.js

This commit is contained in:
mengxinzxz 2023-09-06 14:05:15 +08:00 committed by GitHub
parent 0355504745
commit 2a5f6b64b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -795,7 +795,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
filter:function(event,player){
return event.player.getHp()>player.getHp()&&event.player.getHistory('useCard',function(card){
return card.card.name=='sha';
}).length&&player.countCards('hs',card=>player.canUse(get.autoViewAs({name:'sha'},[card]),event.player,false));
}).length&&player.countCards('hs',card=>get.color(card,player)=='black'&&player.canUse(get.autoViewAs({name:'sha'},[card]),event.player,false));
},
direct:true,
content:function(){