标准包jianxiong技能使用async content
This commit is contained in:
parent
280043d78c
commit
f63d5be2e5
|
@ -288,8 +288,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
filter:function(event,player){
|
||||
return get.itemtype(event.cards)=='cards'&&get.position(event.cards[0],true)=='o';
|
||||
},
|
||||
content:function(){
|
||||
player.gain(trigger.cards,'gain2');
|
||||
async content(event,trigger,player){
|
||||
await player.promises.gain(trigger.cards,'gain2');
|
||||
},
|
||||
ai:{
|
||||
maixie:true,
|
||||
|
|
Loading…
Reference in New Issue