标准包kurou技能使用async content

This commit is contained in:
shijian 2023-12-09 14:50:43 +08:00
parent 6cfc6f09a4
commit a160e4e065
1 changed files with 3 additions and 5 deletions

View File

@ -1571,11 +1571,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
audio:2,
enable:'phaseUse',
prompt:'失去1点体力并摸两张牌',
content:function(){
"step 0"
player.loseHp(1);
"step 1"
player.draw(2);
async content(event,trigger,player){
await player.promises.loseHp(1);
await player.promises.draw(2);
},
ai:{
basic:{