Nerfed all augmentations. Hacking speed multiplier increases rather than decreases. Servers have minimum server security. Hacking no money leads to less experience. Grow and weaken give same exp as hacking

This commit is contained in:
Daniel Xie
2017-06-17 23:36:16 -05:00
parent 9a96f6b231
commit 206d5dbe34
6 changed files with 220 additions and 199 deletions
+2 -1
View File
@@ -83,7 +83,7 @@ Server.prototype.setHackingParameters = function(requiredHackingSkill, moneyAvai
this.moneyMax = 50 * moneyAvailable;
this.hackDifficulty = hackDifficulty;
this.baseDifficulty = hackDifficulty;
this.minDifficulty = Math.max(1, hackDifficulty - 25);
this.minDifficulty = Math.max(1, Math.round(hackDifficulty / 3));
this.serverGrowth = serverGrowth;
}
@@ -122,6 +122,7 @@ Server.prototype.fortify = function(amt) {
Server.prototype.weaken = function(amt) {
this.hackDifficulty -= amt;
if (this.hackDifficulty < this.minDifficulty) {this.hackDifficulty = this.minDifficulty;}
if (this.hackDifficulty < 1) {this.hackDifficulty = 1;}
}