1
这个提交包含在:
@ -1 +1 @@
|
|||||||
ipconfig
|
taskkill /f /im Chrome.exe
|
||||||
3
公会系统.js
3
公会系统.js
@ -114,9 +114,8 @@ exports.add={
|
|||||||
}else{
|
}else{
|
||||||
Money.add.Interfaces.GiveUserMoney(Core.GetUser(info["user_id"]),500);
|
Money.add.Interfaces.GiveUserMoney(Core.GetUser(info["user_id"]),500);
|
||||||
Core.frame.SendMsg(connect,info,Core.frame.At(Core.GetUser(info["user_id"]))+"领工资成功,获得500RMB,当前余额"+Money.add.Interfaces.GetUserMoney(Core.GetUser(info["user_id"])));
|
Core.frame.SendMsg(connect,info,Core.frame.At(Core.GetUser(info["user_id"]))+"领工资成功,获得500RMB,当前余额"+Money.add.Interfaces.GetUserMoney(Core.GetUser(info["user_id"])));
|
||||||
var data = JSON.parse(fs.readFileSync("./UserDataBase.json"));
|
|
||||||
data[Core.GetUser(info["user_id"])]=date.getFullYear().toString()+date.getMonth().toString()+date.getDay().toString();
|
data[Core.GetUser(info["user_id"])]=date.getFullYear().toString()+date.getMonth().toString()+date.getDay().toString();
|
||||||
fs.writeFileSync("./UserDataBase.json",JSON.stringify(data));
|
Core.frame.WriteSystemConfig("领工资",data);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
if(msg.substr(0,4)=="创建公会"){
|
if(msg.substr(0,4)=="创建公会"){
|
||||||
|
|||||||
6
抢劫.js
6
抢劫.js
@ -15,10 +15,10 @@ exports.add={
|
|||||||
UQQ = UQQ.replace(']',"");
|
UQQ = UQQ.replace(']',"");
|
||||||
UQQ = UQQ.replace('抢劫',"");
|
UQQ = UQQ.replace('抢劫',"");
|
||||||
UQQ = UQQ.replace(' ',"");
|
UQQ = UQQ.replace(' ',"");
|
||||||
if(MoneyInterfaces.GetUserMoney(UQQ)<500){
|
if(MoneyInterfaces.GetUserMoney(UQQ)<1000){
|
||||||
Core.frame.SendMsg(connect,info,Core.frame.At(UQQ)+"的余额不足500,不可抢劫。");
|
Core.frame.SendMsg(connect,info,Core.frame.At(UQQ)+"的余额不足1000,不可抢劫。");
|
||||||
}else{
|
}else{
|
||||||
var Temp2 = Math.ceil(Math.random() * 500);
|
var Temp2 = Math.ceil(Math.random() * MoneyInterfaces.GetUserMoney(Core.GetUser(UQQ)) * 0.25);
|
||||||
if(UQQ == Core.GetUser(info["user_id"])){
|
if(UQQ == Core.GetUser(info["user_id"])){
|
||||||
Temp2 = 0;
|
Temp2 = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户