Rebalancing Gyms and training in Bladeburner. Updated Active Scripts UI page to update once per second. Updated changelog

This commit is contained in:
danielyxie
2018-05-10 12:14:45 -05:00
parent dfb5cbf02d
commit 024138eabd
9 changed files with 5787 additions and 5573 deletions
-23
View File
@@ -68,29 +68,6 @@ function Server(params={ip:createRandomIp(), hostname:""}) {
this.openPortCount = 0;
};
/*
//Set the hacking properties of a server
Server.prototype.setHackingParameters = function(requiredHackingSkill, moneyAvailable, hackDifficulty, serverGrowth) {
this.requiredHackingSkill = requiredHackingSkill;
if (isNaN(moneyAvailable)) {
this.moneyAvailable = 1e6;
} else {
this.moneyAvailable = moneyAvailable * BitNodeMultipliers.ServerStartingMoney;
}
this.moneyMax =
this.hackDifficulty = hackDifficulty * BitNodeMultipliers.ServerStartingSecurity;
this.baseDifficulty = hackDifficulty * BitNodeMultipliers.ServerStartingSecurity;
this.minDifficulty = Math.max(1, Math.round(this.hackDifficulty / 3));
this.serverGrowth = serverGrowth;
}
//Set the port properties of a server
//Right now its only the number of open ports needed to PortHack the server.
Server.prototype.setPortProperties = function(numOpenPortsReq) {
this.numOpenPortsRequired = numOpenPortsReq;
}
*/
Server.prototype.setMaxRam = function(ram) {
this.maxRam = ram;
}