From 1baf3a87b3afa4b23784684736174c420fb3eb24 Mon Sep 17 00:00:00 2001 From: libccy Date: Sat, 19 Mar 2016 00:37:06 +0800 Subject: [PATCH] fix --- character/sp.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/character/sp.js b/character/sp.js index c4a76d109..c50f2ab84 100755 --- a/character/sp.js +++ b/character/sp.js @@ -80,6 +80,8 @@ character.sp={ filter:function(event,player){ if(!event.targets) return false; if(_status.currentPhase!=player) return false; + var type=get.type(event.card,'trick'); + if(type!='basic'&&type!='trick') return false; return game.hasPlayer(function(target){ return !event.targets.contains(target)&&target.num('he')>0; });