标准包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){ filter:function(event,player){
return get.position(event.result.card,true)=='o'; return get.position(event.result.card,true)=='o';
}, },
content:function(){ async content(event,trigger,player){
player.gain(trigger.result.card,'gain2'); await player.promises.gain(trigger.result.card,'gain2');
} }
}, },
yiji:{ yiji:{