标准包kurou技能使用async content
This commit is contained in:
parent
6cfc6f09a4
commit
a160e4e065
|
@ -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:{
|
||||||
|
|
Loading…
Reference in New Issue