标准包tiandu技能使用async content

This commit is contained in:
shijian 2023-12-09 12:33:14 +08:00
parent 73e719c376
commit 1ab5975364
1 changed files with 2 additions and 2 deletions

View File

@ -540,8 +540,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
filter:function(event,player){
return get.position(event.result.card,true)=='o';
},
content:function(){
player.gain(trigger.result.card,'gain2');
async content(event,trigger,player){
await player.promises.gain(trigger.result.card,'gain2');
}
},
yiji:{