diff --git a/character/sb.js b/character/sb.js index 78de96474..bd9c3c933 100644 --- a/character/sb.js +++ b/character/sb.js @@ -575,8 +575,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var cards=list[0][1].slice(),player=_status.event.player; var name=_status.event.getTrigger().name; var target=(name=='phaseZhunbei'?player:target); + var judges=target.getCards('j'); var top=[],att=get.sgn(get.attitude(player,target)); - if(att!=0&&(target!=player||!player.hasWuxie())){ + if(judges.length&&att!=0&&(target!=player||!player.hasWuxie())){ for(var i=0;ijudge(b)-judge(a));