标准包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, audio:2,
enable:'phaseUse', enable:'phaseUse',
prompt:'失去1点体力并摸两张牌', prompt:'失去1点体力并摸两张牌',
content:function(){ async content(event,trigger,player){
"step 0" await player.promises.loseHp(1);
player.loseHp(1); await player.promises.draw(2);
"step 1"
player.draw(2);
}, },
ai:{ ai:{
basic:{ basic:{