From 2a5f6b64b7379a3a85b8e2305e68234431d5560e Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Wed, 6 Sep 2023 14:05:15 +0800 Subject: [PATCH] Update sp.js --- character/sp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/sp.js b/character/sp.js index 2fa372a99..588f0684d 100755 --- a/character/sp.js +++ b/character/sp.js @@ -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(){