标准包jianxiong技能使用async content

This commit is contained in:
shijian 2023-12-09 11:04:10 +08:00
parent 280043d78c
commit f63d5be2e5
1 changed files with 2 additions and 2 deletions

View File

@ -288,8 +288,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
filter:function(event,player){
return get.itemtype(event.cards)=='cards'&&get.position(event.cards[0],true)=='o';
},
content:function(){
player.gain(trigger.cards,'gain2');
async content(event,trigger,player){
await player.promises.gain(trigger.cards,'gain2');
},
ai:{
maixie:true,