diff --git a/card/gujian.js b/card/gujian.js index e9864c455..c4bb47a0e 100644 --- a/card/gujian.js +++ b/card/gujian.js @@ -667,12 +667,11 @@ card.gujian={ return target!=player&&target.num('he')>0; }, changeTarget:function(player,targets){ - var target=targets[0]; - for(var i=0;i0){ - num--; + return -1; } else if(att<0){ - num++; + return 1; } } - } - return num; + }); } } } diff --git a/game/game.js b/game/game.js index 5be744821..02adb22f5 100644 --- a/game/game.js +++ b/game/game.js @@ -22681,7 +22681,7 @@ if(typeof result=='number'){ num+=result; } - else{ + else if(result){ num++; } }