Playtesting - Fixed some bugs, refactoring

This commit is contained in:
Daniel Xie
2017-04-17 23:32:17 -05:00
parent ffda024431
commit 77f386d14a
10 changed files with 104 additions and 30 deletions
+2 -2
View File
@@ -396,7 +396,7 @@ initForeignServers = function() {
//"Low level" targets
var FoodNStuffServer = new Server();
FoodNStuffServer.init(createRandomIp(), "foodnstuff", "Food N Stuff Supermarket", true, false, false, false, 2);
FoodNStuffServer.setHackingParameters(1, 1000000, 10, 20);
FoodNStuffServer.setHackingParameters(1, 500000, 10, 20);
FoodNStuffServer.setPortProperties(0);
AddToAllServers(FoodNStuffServer);
@@ -644,7 +644,7 @@ processServerGrowth = function(numCycles) {
//Apply serverGrowth for the calculated number of growth cycles
var serverGrowth = Math.pow(1.0001, numServerGrowthCyclesAdjusted);
console.log("serverGrowth ratio: " + serverGrowth);
//console.log("serverGrowth ratio: " + serverGrowth);
server.moneyAvailable *= serverGrowth;
}
}