From 46967ee4f633a0ef918130bbd7f62ac03c2de5c9 Mon Sep 17 00:00:00 2001 From: libccy Date: Wed, 20 Jul 2016 16:24:41 +0800 Subject: [PATCH] z --- character/yijiang.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/character/yijiang.js b/character/yijiang.js index a475f0fcb..6ba99dab9 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -4076,7 +4076,12 @@ character.yijiang={ trigger:{source:'damageBefore'}, check:function(event,player){ if(ai.get.damageEffect(event.player,player,player)<0) return true; - if(ai.get.attitude(player,event.player)>0&&event.player.num('j')) return true; + var att=ai.get.attitude(player,event.player); + if(att>0&&event.player.num('j')) return true; + if(event.num>1){ + if(att<0) return false; + if(att>0) return true; + } var cards=event.player.get('e'); for(var i=0;i=6) return true;