From 501abfeae000af4f3b058f3f6bf368e6d0cf1074 Mon Sep 17 00:00:00 2001 From: Daniel Xie Date: Tue, 30 May 2017 10:10:15 -0500 Subject: [PATCH 1/9] 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 From 427b52abc58d767cfbe81556c8aad743693b48a2 Mon Sep 17 00:00:00 2001 From: Daniel Xie Date: Tue, 30 May 2017 10:51:55 -0500 Subject: [PATCH 2/9] Removed href=# in index.html --- index.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/index.html b/index.html index c6bca2e99..13955a22f 100644 --- a/index.html +++ b/index.html @@ -66,45 +66,45 @@