标准包jieyin技能使用async content

This commit is contained in:
shijian 2023-12-09 15:27:37 +08:00
parent e2664760dd
commit 2fa474b4e7
1 changed files with 3 additions and 3 deletions

View File

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