标准包qingnang技能使用async content
This commit is contained in:
parent
e1aaf6037b
commit
6de9d968ee
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue