diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 033d9c638..6b53dd1f9 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,2 +1,4 @@ 1.2.11 火攻bug +铁索结算问题 +酒杀AI diff --git a/card/extra.js b/card/extra.js index b29998e5c..c4ac6a8d5 100755 --- a/card/extra.js +++ b/card/extra.js @@ -35,6 +35,13 @@ card.extra={ if(target&&target==_status.dying) return 2; var shas=target.get('h','sha'); var ok=false; + if(player.num('h','sha')>1){ + if(player.num('e','zhuge')) return 0; + if(player.skills.contains('paoxiao')) return 0; + if(player.skills.contains('tanlnin3')) return 0; + if(player.skills.contains('zhaxiang2')) return 0; + if(player.skills.contains('fengnu')) return 0; + } if(shas.length){ for(var i=0;i0; + return event.card&&event.card.name=='sha'&&player.storage.liaoyuan>0&&event.parent.name!='_lianhuan'&&event.parent.name!='_lianhuan2'; }, content:function(){ trigger.num+=player.storage.liaoyuan; diff --git a/character/xianjian.js b/character/xianjian.js index be33cf07a..f7fa43f4b 100755 --- a/character/xianjian.js +++ b/character/xianjian.js @@ -1319,8 +1319,8 @@ character.xianjian={ }, tianshe2:{ trigger:{source:'damageAfter'}, - filter:function(event){ - if(event.nature) return true; + filter:function(event,player){ + if(event.nature&&player.hp