From f318ecdff090b70c27e9d6cd8fe4192f2d43c121 Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Mon, 9 Oct 2023 15:59:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=9F=E9=BB=84=E5=BF=A0=E3=80=90=E9=AA=91?= =?UTF-8?q?=E5=B0=84=E3=80=91ai=E8=B0=83=E6=95=B4=EF=BC=88=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E6=BF=92=E6=AD=BB=E4=B8=8D=E8=BD=AC=E5=8C=96=E8=A3=85?= =?UTF-8?q?=E5=A4=87=E9=85=92=E7=9A=84bug=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/mobile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/character/mobile.js b/character/mobile.js index 8777ac537..352c61148 100644 --- a/character/mobile.js +++ b/character/mobile.js @@ -4595,7 +4595,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ viewAsFilter:function(player){ return player.hasCard({type:'equip'},'ehs'); }, - check:(card)=>5-get.value(card), + check:function(card){ + if(_status.event.type=='dying') return 1/(get.value(card)||0.5); + return 5-get.value(card); + }, locked:false, mod:{ maxHandcard:function(player,num){