From b73f680065ecf917bad14da459bc66b8244b550d Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sun, 28 Jan 2024 22:47:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=A0=E5=BE=90=E5=BA=B6=E3=80=90=E5=89=91?= =?UTF-8?q?=E6=AD=8C=E3=80=91=E6=91=B8=E7=89=8C=E6=97=B6=E6=9C=BA=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/tw.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/character/tw.js b/character/tw.js index c159acc47..8029cfcad 100644 --- a/character/tw.js +++ b/character/tw.js @@ -9428,7 +9428,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return _status.event.skill=='twjiange'?1:Infinity; }, precontent:function(){ - if(player!=_status.currentPhase) player.draw(); + if(player!=_status.currentPhase){ + player.when({player:['useCard','respond']}) + .filter(evt=>evt.skill=='twjiange') + .then(()=>player.draw()); + } event.getParent().addCount=false; }, prompt:'将一张非基本牌当杀使用或打出',