From 0e4399f98431c4d48388d30a64193b13084b698b Mon Sep 17 00:00:00 2001 From: lieren2023 <131325076+lieren2023@users.noreply.github.com> Date: Sat, 9 Mar 2024 19:15:23 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E7=BB=9F=E7=8E=87=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E5=A4=8F=E4=BE=AF=E6=83=87=E5=88=9A=E7=83=88=E9=80=89?= =?UTF-8?q?=E5=88=AB=E4=BA=BA=E7=BB=93=E6=9E=9C=E8=87=AA=E5=B7=B1=E5=BC=83?= =?UTF-8?q?=E7=89=8C=E6=88=96=E4=BC=A4=E5=AE=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/standard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/standard.js b/character/standard.js index 128354334..86106d945 100755 --- a/character/standard.js +++ b/character/standard.js @@ -435,7 +435,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ judgeEvent.judge2=result=>result.bool; const {result:{judge}}=await judgeEvent; if(judge<2) return; - const {result:{bool:chooseToDiscardResultBool}}=await player.chooseToDiscard(2).set('ai',card=>{ + const {result:{bool:chooseToDiscardResultBool}}=await event.target.chooseToDiscard(2).set('ai',card=>{ if(card.name=='tao') return -10; if(card.name=='jiu'&&_status.event.player.hp==1) return -10; return get.unuseful(card)+2.5*(5-get.owner(card).hp);