标准包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){
|
filter:function(event,player){
|
||||||
return get.position(event.result.card,true)=='o';
|
return get.position(event.result.card,true)=='o';
|
||||||
},
|
},
|
||||||
content:function(){
|
async content(event,trigger,player){
|
||||||
player.gain(trigger.result.card,'gain2');
|
await player.promises.gain(trigger.result.card,'gain2');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
yiji:{
|
yiji:{
|
||||||
|
|
Loading…
Reference in New Issue