代码如下,不知道怎么写ai
skill={
enable:["chooseToRespond","chooseToUse"],
position:"he",
chooseButton:{
dialog:function(){
return ui.create.dialog([["sha","shan","tao","jiu"],"vcard"],"提示:你可以选择将一张手牌视为杀或闪或桃或酒打出")
},
backup:function(links,player){
return{
selectCard:1,
filterCard:true,
viewAs:{
name:links[0][2],
},
};
},
prompt:function(links,player){
return "请选择一张牌当成"+get.translation(links[0][2])+"的目标";
},
},
}
skill={
enable:["chooseToRespond","chooseToUse"],
position:"he",
chooseButton:{
dialog:function(){
return ui.create.dialog([["sha","shan","tao","jiu"],"vcard"],"提示:你可以选择将一张手牌视为杀或闪或桃或酒打出")
},
backup:function(links,player){
return{
selectCard:1,
filterCard:true,
viewAs:{
name:links[0][2],
},
};
},
prompt:function(links,player){
return "请选择一张牌当成"+get.translation(links[0][2])+"的目标";
},
},
}