标准包xinbiyue技能使用async content

This commit is contained in:
shijian 2023-12-09 15:40:55 +08:00
parent 7e6b94cf73
commit 3fb277914a
1 changed files with 2 additions and 6 deletions

View File

@ -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:{