From bbf5e455cd5e3e37b2e12cb57e438fe9cbcae77d Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Sat, 9 Dec 2023 16:04:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dzhiheng=E6=8A=80=E8=83=BD?= =?UTF-8?q?=E6=B2=A1=E4=BD=BF=E7=94=A8promises=E7=9A=84=E9=97=AE=E9=A2=98?= 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 c406b390f..3eddb5c38 100755 --- a/character/standard.js +++ b/character/standard.js @@ -1455,7 +1455,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return 6-get.value(card) }, async content(event,trigger,player){ - player.draw(event.cards.length); + await player.promises.draw(event.cards.length); }, ai:{ order:1,