diff --git a/card/guozhan.js b/card/guozhan.js index 6c15a795a..78215cae6 100644 --- a/card/guozhan.js +++ b/card/guozhan.js @@ -279,7 +279,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, mode:['guozhan'], filterTarget:function(card,player,target){ - return target.identity!='unknown'&&(target.identity!=player.identity||target.identity=='ye'); + return target!=player&&target.identity!='unknown'&&(target.identity!=player.identity||target.identity=='ye'); }, changeTarget:function(player,targets){ var target=targets[0]; diff --git a/character/refresh.js b/character/refresh.js index ed7c3293d..39482eb37 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -1037,6 +1037,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ reguanxing:{ audio:'guanxing', + audioname:['jiangwei'], trigger:{player:['phaseBegin','phaseEnd']}, frequent:true, filter:function(event,player,name){ diff --git a/character/shenhua.js b/character/shenhua.js index 693bc9dbd..25ef2af44 100755 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -501,7 +501,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, mark:true, - intro:{content:'本回合内可以多使用三张【杀】'}, + marktext:'决', + intro:{name:'决堰 - 武器',content:'本回合内可以多使用三张【杀】'}, }, 'drlt_jueyan2':{ mod:{ @@ -510,7 +511,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, mark:true, - intro:{content:'本回合内使用牌没有距离限制'}, + marktext:'决', + intro:{name:'决堰 - 坐骑',content:'本回合内使用牌没有距离限制'}, }, 'drlt_jueyan3':{ mod:{ @@ -519,7 +521,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, mark:true, - intro:{content:'本回合内手牌上限+3'}, + marktext:'决', + intro:{name:'决堰 - 防具',content:'本回合内手牌上限+3'}, }, "drlt_poshi":{ audio:2, @@ -687,8 +690,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ ai:{ order:13, result:{ - player:function(player){ - if(player.countCards('h',{name:'sha'})>=2&&game.countPlayer(function(current){return get.attitude(player,current)<0})>0) return 1; + target:function(player,target){ + var hs=player.countCards('h',{name:['sha','juedou']}); + var ts=target.hp; + if(hs>=ts&&ts>1) return -1; + return 0; }, }, }, @@ -738,6 +744,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.position(card)=='h') return false; }, }, + ai:{ + effect:{ + target:function(card,player,target){ + if(get.tag(card,'damage')) return [0,-999999]; + }, + }, + }, }, @@ -3315,6 +3328,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, huashen:{ + audio:'huashen2', unique:true, forbid:['guozhan'], init:function(player){ @@ -3333,7 +3347,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var skills=lib.character[name][3].slice(0); for(var i=0;i