标准包zhongyi技能使用async content

This commit is contained in:
shijian 2023-12-09 14:18:38 +08:00
parent 7630d68d9f
commit 5e8090b33b
1 changed files with 2 additions and 2 deletions

View File

@ -1033,10 +1033,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
discard:false,
lose:false,
content:function(){
async content(event,trigger,player){
player.awakenSkill('zhongyi');
player.addTempSkill('zhongyi2','roundStart');
player.addToExpansion(player,'give',cards).gaintag.add('zhongyi2');
await player.promise.addToExpansion(player,'give',event.cards).gaintag.add('zhongyi2');
},
},
zhongyi2:{