From 8ea4131439a0d9fb4c8f1998779eb488a188d341 Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Wed, 6 Sep 2023 14:09:23 +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 588f0684d..a0e1041f3 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=>get.color(card,player)=='black'&&player.canUse(get.autoViewAs({name:'sha'},[card]),event.player,false)); + }).length&&player.countCards('hes',card=>get.color(card,player)=='black'&&player.canUse(get.autoViewAs({name:'sha'},[card]),event.player,false)); }, direct:true, content:function(){