标准包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; if(target.hp>=target.maxHp) return false;
return true; return true;
}, },
content:function(){ async content(event,trigger,player){
target.recover(); await event.target.promises.recover();
}, },
ai:{ ai:{
order:9, order:9,