标准包tiandu技能使用async content
This commit is contained in:
parent
73e719c376
commit
1ab5975364
|
@ -540,8 +540,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
filter:function(event,player){
|
||||
return get.position(event.result.card,true)=='o';
|
||||
},
|
||||
content:function(){
|
||||
player.gain(trigger.result.card,'gain2');
|
||||
async content(event,trigger,player){
|
||||
await player.promises.gain(trigger.result.card,'gain2');
|
||||
}
|
||||
},
|
||||
yiji:{
|
||||
|
|
Loading…
Reference in New Issue