From 501abfeae000af4f3b058f3f6bf368e6d0cf1074 Mon Sep 17 00:00:00 2001 From: Daniel Xie Date: Tue, 30 May 2017 10:10:15 -0500 Subject: [PATCH] Player hacking speed affects time to execute grow() --- src/NetscriptEvaluator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NetscriptEvaluator.js b/src/NetscriptEvaluator.js index a4d7612ed..64a2919a5 100644 --- a/src/NetscriptEvaluator.js +++ b/src/NetscriptEvaluator.js @@ -1274,6 +1274,6 @@ function scriptCalculatePercentMoneyHacked(server) { function scriptCalculateGrowTime(server) { var difficultyMult = server.requiredHackingSkill * server.hackDifficulty; var skillFactor = (2.5 * difficultyMult + 500) / (Player.hacking_skill + 50); - var growTime = skillFactor * 16; //This is in seconds + var growTime = skillFactor * Player.hacking_speed_mult * 16; //This is in seconds return growTime * 1000; } \ No newline at end of file