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