diff --git a/character/extra.js b/character/extra.js index 06637609a..e6260810a 100755 --- a/character/extra.js +++ b/character/extra.js @@ -311,7 +311,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.chooseControlList([ '移去一枚【暴怒】标记', '失去一点体力' - ]).set('ai',function(event,player){ + ],true).set('ai',function(event,player){ if(player.storage.baonu>6) return 0; if(player.hp+player.num('h','tao')>3) return 1; return 0; @@ -1945,27 +1945,27 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, "nzry_jieying":{ audio:2, - init:function(player){ - if(!player.isLinked()){ - player.link(); - player.logSkill('nzry_jieying'); - }; + ai:{ + effect:{ + target:function(card){ + if(card.name=='tiesuo') return 'zeroplayertarget'; + }, + }, }, group:["nzry_jieying_1","nzry_jieying_2"], subSkill:{ '1':{ audio:2, trigger:{ - player:'linkAfter' + player:'linkAfter', + global:'gameDrawAfter', }, forced:true, filter:function (event,player){ return !player.isLinked(); }, content:function(){ - setTimeout(function(){ - if(!player.isLinked()) player.link(); - },1200); + if(!player.isLinked()) player.link(); }, }, '2':{ diff --git a/character/refresh.js b/character/refresh.js index a8d61a26f..f848cbacc 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -272,7 +272,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(get.itemtype(trigger.cards)=='cards'&&get.position(trigger.cards[0])=='d'){ player.gain(trigger.cards,"gain2"); } - player.draw(); + player.draw('nodelay'); }, ai:{ maixie:true, diff --git a/character/sp.js b/character/sp.js index c7c6a94d1..b000159e8 100755 --- a/character/sp.js +++ b/character/sp.js @@ -2334,7 +2334,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return event.getParent(2).name!='zishu_draw'; }, content:function(){ - player.draw(false); + player.draw('nodelay'); } } }, diff --git a/character/xinghuoliaoyuan.js b/character/xinghuoliaoyuan.js index d3bb89452..2edd57d47 100755 --- a/character/xinghuoliaoyuan.js +++ b/character/xinghuoliaoyuan.js @@ -2623,7 +2623,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return event.getParent().name=='draw'&&event.getParent(2).name!='xinfu_zhanji'; }, content:function (){ - player.draw(false); + player.draw('nodelay'); }, }, "xinfu_songsang":{ diff --git a/character/yijiang.js b/character/yijiang.js index 613332398..6e4dbd666 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -5259,7 +5259,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.card=card; player.$throw(card,1000); game.log(player,'将',card,'置于牌堆顶'); - event.result.card={name:event.result.card.name}; + event.result.card={name:event.result.card.name,nature:event.result.card.nature}; event.result.cards=[]; player.lose(card); 'step 1' @@ -8163,10 +8163,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return player.countCards('h')>0 }, chooseButton:{ - dialog:function(){ - var list=['taoyuan','wugu','juedou','huogong','jiedao','tiesuo','guohe','shunshou','wuzhong','wanjian','nanman']; - for(var i=0;i1&&player.canUse('sha',players[i],true,true); } }