From 826ce7fcc21f59c5fd341ab493f6be2e4a76bce2 Mon Sep 17 00:00:00 2001 From: libccy Date: Mon, 26 Jun 2017 23:04:50 +0800 Subject: [PATCH] d --- character/sp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/character/sp.js b/character/sp.js index 999d2651e..7f068b666 100644 --- a/character/sp.js +++ b/character/sp.js @@ -2155,6 +2155,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var att=get.attitude(player,target); if(att==0) return 0; var es=target.getCards('e'); + if(att>0&&(target.countCards('h')>2||target.needsToDiscard(1))) return 0; if(es.length==1&&att>0) return 0; for(var i=0;i