Update sp.js
This commit is contained in:
parent
0355504745
commit
2a5f6b64b7
|
@ -795,7 +795,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return event.player.getHp()>player.getHp()&&event.player.getHistory('useCard',function(card){
|
return event.player.getHp()>player.getHp()&&event.player.getHistory('useCard',function(card){
|
||||||
return card.card.name=='sha';
|
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,
|
direct:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
|
|
Loading…
Reference in New Issue