标准包qingnang技能使用async content

This commit is contained in:
shijian 2023-12-09 15:32:16 +08:00
parent e1aaf6037b
commit 6de9d968ee
1 changed files with 2 additions and 2 deletions

View File

@ -2013,8 +2013,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(target.hp>=target.maxHp) return false;
return true;
},
content:function(){
target.recover();
async content(event,trigger,player){
await event.target.promises.recover();
},
ai:{
order:9,