From 0290c95ee03328f98b609e42d8a10358d4cf5858 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Mon, 15 Jan 2024 20:05:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E3=80=90=E7=81=B5=E7=AE=9C?= =?UTF-8?q?=E3=80=91=E5=90=8E=E7=BB=AD=E4=B8=8D=E6=A0=87=E8=AE=B0=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/huicui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/huicui.js b/character/huicui.js index c5296134a..a9844eda1 100644 --- a/character/huicui.js +++ b/character/huicui.js @@ -1095,7 +1095,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, filter:(event,player)=>{ if(event.getParent('phaseDraw',true)) return false; - const evt=player.getHistory('gain')[0]; + const evt=player.getHistory('gain',i=>!i.getParent('phaseDraw',true))[0]; if(!evt) return false; if(event.name=='gain'){ if(evt!=event||event.getlx===false) return false;