From 3fb277914aed4464cea5e129073c149f5eea4f30 Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Sat, 9 Dec 2023 15:40:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E5=87=86=E5=8C=85xinbiyue=E6=8A=80?= =?UTF-8?q?=E8=83=BD=E4=BD=BF=E7=94=A8async=20content?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/standard.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/character/standard.js b/character/standard.js index 63268c6fb..39c60f9eb 100755 --- a/character/standard.js +++ b/character/standard.js @@ -2225,12 +2225,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ trigger:{player:'phaseJieshuBegin'}, frequent:true, // alter:true, - content:function(){ - var num=1; - if(get.is.altered('xinbiyue')&&!player.countCards('h')){ - num=2; - } - player.draw(num); + async content(event,trigger,player){ + await player.promise.draw(1); }, }, yaowu:{