diff --git a/character/shenhua.js b/character/shenhua.js index 5e3b6e2a3..a3f66ed6c 100755 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -564,6 +564,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "drlt_huairou":{ audio:2, enable:"phaseUse", + position:'he', filter:function (event,player){ return player.countCards('he',{type:'equip'})>0; }, diff --git a/character/standard.js b/character/standard.js index cfed69e1c..37917804f 100755 --- a/character/standard.js +++ b/character/standard.js @@ -95,12 +95,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ audioname:['re_caocao'], unique:true, zhuSkill:true, - trigger:{player:['chooseToRespondBegin','chooseToUse']}, + trigger:{player:['chooseToRespondBegin','chooseToUseBefore']}, filter:function(event,player){ if(event.responded) return false; if(player.storage.hujiaing) return false; if(!player.hasZhuSkill('hujia')) return false; - if(event.filterCard({name:'shan'})==false) return false; + if(!event.filterCard({name:'shan'},player,event)) return false; return game.hasPlayer(function(current){ return current!=player&¤t.group=='wei'; }); diff --git a/character/swd.js b/character/swd.js index 105c4a589..d6bb88e14 100644 --- a/character/swd.js +++ b/character/swd.js @@ -1361,7 +1361,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ filter:function(event,player){ if(!player.isLinked()) return false; if(event.responded) return false; - if(!event.filterCard({name:'shan'})) return false; + if(!event.filterCard({name:'shan'},player,event)) return false; return true; }, check:function(event,player){ diff --git a/character/xianjian.js b/character/xianjian.js index a12f2e94c..a2df535b4 100644 --- a/character/xianjian.js +++ b/character/xianjian.js @@ -2363,7 +2363,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:['chooseToRespondBegin','chooseToUseBegin']}, filter:function(event,player){ if(event.responded) return false; - if(!event.filterCard({name:'shan'})) return false; + if(!event.filterCard({name:'shan'},player,event)) return false; return player.countCards('h','shan')>0; }, direct:true,