标准包xinbiyue技能使用async content
This commit is contained in:
parent
7e6b94cf73
commit
3fb277914a
|
@ -2225,12 +2225,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
trigger:{player:'phaseJieshuBegin'},
|
trigger:{player:'phaseJieshuBegin'},
|
||||||
frequent:true,
|
frequent:true,
|
||||||
// alter:true,
|
// alter:true,
|
||||||
content:function(){
|
async content(event,trigger,player){
|
||||||
var num=1;
|
await player.promise.draw(1);
|
||||||
if(get.is.altered('xinbiyue')&&!player.countCards('h')){
|
|
||||||
num=2;
|
|
||||||
}
|
|
||||||
player.draw(num);
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
yaowu:{
|
yaowu:{
|
||||||
|
|
Loading…
Reference in New Issue