标准包fankui技能使用async content
This commit is contained in:
parent
f63d5be2e5
commit
e1d5866ead
|
@ -310,8 +310,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
filter:function(event,player){
|
||||
return (event.source&&event.source.countGainableCards(player,event.source!=player?'he':'e')&&event.num>0);
|
||||
},
|
||||
content:function(){
|
||||
player.gainPlayerCard(true,trigger.source,trigger.source!=player?'he':'e');
|
||||
async content(event,trigger,player){
|
||||
await player.promises.gainPlayerCard(true,trigger.source,trigger.source!=player?'he':'e');
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
|
|
Loading…
Reference in New Issue