diff --git a/character/shenhua.js b/character/shenhua.js index 53b592b95..fac594dab 100644 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -1109,6 +1109,7 @@ character.shenhua={ if(ai.get.attitude(player,target)>0&&card.name=='juedou') return; if(target.num('h')==0) return 2; if(target.hasSkill('ziliang')) return 0.7; + if(get.mode()=='guozhan') return 0.5; return [0.5,Math.max(target.num('h')/4,target.num('h','sha')+target.num('h','shan'))]; } } diff --git a/character/standard.js b/character/standard.js index 66261e0aa..80f715959 100644 --- a/character/standard.js +++ b/character/standard.js @@ -736,13 +736,23 @@ character.standard={ position:'he', viewAs:{name:'sha'}, viewAsFilter:function(player){ - if(!player.num('he',{color:'red'})) return false; + if(get.zhu(player,'shouyue')){ + if(!player.num('he')) return false; + } + else{ + if(!player.num('he',{color:'red'})) return false; + } }, prompt:'将一张红色牌当杀使用或打出', check:function(card){return 4-ai.get.value(card)}, ai:{ skillTagFilter:function(player){ - if(!player.num('he',{color:'red'})) return false; + if(get.zhu(player,'shouyue')){ + if(!player.num('he')) return false; + } + else{ + if(!player.num('he',{color:'red'})) return false; + } }, respondSha:true, } diff --git a/mode/guozhan.js b/mode/guozhan.js index 5c8672204..379f67175 100644 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -286,6 +286,7 @@ mode.guozhan={ direct:true, filter:function(event,player){ if(event.responded) return false; + if(player.isUnseen()) return false; if(!event.filterCard({name:'sha'})) return false; var zhu=get.zhu(player,'hongfa'); if(zhu&&zhu.storage.huangjintianbingfu&&zhu.storage.huangjintianbingfu.length>0){ @@ -317,6 +318,7 @@ mode.guozhan={ _hongfa:{ enable:'chooseToUse', filter:function(event,player){ + if(player.isUnseen()) return false; if(!event.filterCard({name:'sha'},player)) return false; var zhu=get.zhu(player,'hongfa'); if(zhu&&zhu.storage.huangjintianbingfu&&zhu.storage.huangjintianbingfu.length>0){ @@ -1527,23 +1529,28 @@ mode.guozhan={ }, content:function(){ 'step 0' - var choice='主将'; - var skills=lib.character[target.name2][3]; - for(var i=0;i