这个提交包含在:
2020-07-01 13:49:09 +08:00
父节点 e9da44d8a9
当前提交 96b13bd439
共有 31 个文件被更改,包括 633 次插入 和 44 次删除

查看文件

@ -24,7 +24,7 @@ exports.add = {
if(Money.add.Interfaces.GetUserMoney(Core.GetUser(info["user_id"]))>100){
Money.add.Interfaces.CostUserMoney(Core.GetUser(info["user_id"]),100);
exports.add.Interfaces.GiveUser板砖(Core.GetUser(info["user_id"]),1);
Core.frame.SendMsg(connect,info,`消耗金币 * 100\\r\\n<获得板砖>\\r\\n[板砖]*1\\r\\n<持有板砖>\\r\\n[板砖]*${exports.add.Interfaces.GetUser板砖(Core.GetUser(info["user_id"]))}`);
Core.frame.SendMsg(connect,info,`消耗金币 * 100\r\n<获得板砖>\r\n[板砖]*1\r\n<持有板砖>\r\n[板砖]*${exports.add.Interfaces.GetUser板砖(Core.GetUser(info["user_id"]))}`);
}else{
Core.frame.SendMsg(connect,info,"你的金币不足100。");
}
@ -48,6 +48,7 @@ exports.add = {
Tuser = Tuser.replace("[CQ:at,qq=","");
Tuser = Tuser.replace("]","");
Tuser = Tuser.replace(" ","");
At = Core.frame.GetAt(connect,info);if(At){Tuser=At}
if(保镖In.使用用户保镖(Core.GetUser(Tuser))){
Core.frame.SendMsg(connect,info,Core.frame.At(Core.GetUser(info.user_id))+"对方有保镖,不可敲板砖");
return;
@ -80,6 +81,7 @@ exports.add = {
var TuserZ = E[0].replace("[CQ:at,qq=","");
TuserZ = TuserZ.replace("]","");
TuserZ = TuserZ.replace(" ","");
At = Core.frame.GetAt(connect,info);if(At){TuserZ=At}
if(保镖In.使用用户保镖(Core.GetUser(Tuser))){
Core.frame.SendMsg(connect,info,Core.frame.At(Core.GetUser(info.user_id))+"对方有保镖,不可敲板砖");
return;