diff --git a/character/shenhua.js b/character/shenhua.js index 6a7515eeb..8e4ad6316 100644 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -822,7 +822,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ effect:{ target:function(card,player,target,current){ - if(card.name=='sha'){ + if(card.name=='sha'&&get.attitude(player,target)<0){ if(_status.event.name=='xiangle') return; var bs=player.getCards('h',{type:'basic'}); if(bs.length<2) return 0; diff --git a/character/yijiang.js b/character/yijiang.js index 903943dbb..bd27b2995 100644 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -74,10 +74,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ zhangrang:['male','qun',3,['taoluan']], sunziliufang:['male','wei',3,['guizao','jiyu']], - xinxianying:['male','wei',3,['zhongjian','caishi']], - wuxian:['male','shu',3,['fumian','daiyan']], - xushi:['male','wu',3,['wengua','fuzhu']], - caojie:['male','wei',3,[]], + xinxianying:['female','wei',3,['zhongjian','caishi']], + wuxian:['female','shu',3,['fumian','daiyan']], + xushi:['female','wu',3,['wengua','fuzhu']], + caojie:['female','qun',3,['shouxi','huimin']], }, characterIntro:{ huaxiong:'董卓旗下名将,自荐抵抗山东地区反对董卓的诸侯联军于汜水关前,他先后斩杀济北相鲍信之弟鲍忠和孙坚部将祖茂、以及袁术部将俞涉和韩馥手下潘凤等人,最后关东联军派出关羽与之一对一决斗而被杀。', @@ -165,6 +165,179 @@ game.import('character',function(lib,game,ui,get,ai,_status){ liuchen:['liushan'], }, skill:{ + shouxi:{ + trigger:{target:'shaBefore'}, + direct:true, + init:function(player){ + player.storage.shouxi=[]; + }, + content:function(){ + 'step 0' + var list=['sha','shan','tao','jiu','taoyuan','wugu','juedou','huogong','jiedao','tiesuo','guohe','shunshou','wuzhong','wanjian','nanman','lebu','bingliang','shandian']; + for(var i=0;i0; + }, + content:function(){ + 'step 0' + event.list=game.filterPlayer(function(current){ + return current.countCards('h')