From bd28f8720f63191c3a8b182daef1dd0f6b64e591 Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Mon, 14 Aug 2023 00:48:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=8F=E9=92=9F=E4=BC=9A=E3=80=90=E8=BF=82?= =?UTF-8?q?=E5=BF=97=E3=80=91=E6=B7=BB=E5=8A=A0=E6=A0=87=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/clan.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/character/clan.js b/character/clan.js index 54e6b92b7..505af2ff3 100644 --- a/character/clan.js +++ b/character/clan.js @@ -83,18 +83,23 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }).set('ai',function(card){ if(_status.event.dying&&_status.event.num>0&&lib.skill.dcweidang.getLength(card)>_status.event.num) return 1/lib.skill.dcweidang.getLength(card);//怂 return lib.skill.dcweidang.getLength(card);//勇 - }).set('dying',player.hp+player.countCards('hs',{name:['tao','jiu']})<1).set('num',event.num); + }).set('dying',player.hp+player.countCards('hs',{name:['tao','jiu']})<1).set('num',event.num1); 'step 4' if(result.bool){ player.logSkill('clanyuzhi'); player.showCards(result.cards,get.translation(player)+'发动了【迂志】'); player.draw(lib.skill.dcweidang.getLength(result.cards[0])); + player.storage.clanyuzhi=lib.skill.dcweidang.getLength(result.cards[0]); + player.markSkill('clanyuzhi'); } + else player.unmarkSkill('clanyuzhi'); }, ai:{ threaten:3, nokeep:true, }, + onremove:true, + intro:{content:'本轮野心:#张'}, }, clanxieshu:{ audio:2,