diff --git a/src/Constants.js b/src/Constants.js index a685acd87..38e779770 100644 --- a/src/Constants.js +++ b/src/Constants.js @@ -37,12 +37,12 @@ CONSTANTS = { CodeInstructionRunTime: 750, //RAM Costs for differenc commands - ScriptWhileRamCost: 0.4, - ScriptForRamCost: 0.4, + ScriptWhileRamCost: 0.15, + ScriptForRamCost: 0.15, ScriptIfRamCost: 0.1, - ScriptHackRamCost: 0.25, - ScriptGrowRamCost: 0.25, - ScriptWeakenRamCost: 0.25, + ScriptHackRamCost: 0.15, + ScriptGrowRamCost: 0.15, + ScriptWeakenRamCost: 0.15, ScriptNukeRamCost: 0.05, ScriptBrutesshRamCost: 0.05, ScriptFtpcrackRamCost: 0.05, @@ -495,7 +495,7 @@ CONSTANTS = { "-Percentage money stolen when hacking lowered to compensate for faster script speeds
" + "-Lowered base growth rate by 25%(which affects amount of money gained from grow())
" + "-Hacking experience granted by grow() halved" + - "-Weaken() is now 10% faster, but only grants 3 hacking exp upon completion instead of 5
" + "-Weaken() is now 10% faster, but only grants 3 base hacking exp upon completion instead of 5
" "v0.19.7
" + "-Added changelog to Options menu
" + "-Bug fix with autocompletion (wasn't working properly for capitalized filenames/programs

" + diff --git a/src/NetscriptFunctions.js b/src/NetscriptFunctions.js index 9ceab47dd..79cd8585f 100644 --- a/src/NetscriptFunctions.js +++ b/src/NetscriptFunctions.js @@ -1,5 +1,5 @@ /* Netscript Functions - * Implementation for Netscript functions */ + * Implementation for Netscript features */ function netscriptAssign(exp, workerScript) { var env = workerScript.env; return new Promise(function(resolve, reject) { diff --git a/src/Script.js b/src/Script.js index 9fa101940..cc252a8f8 100644 --- a/src/Script.js +++ b/src/Script.js @@ -204,7 +204,7 @@ Script.prototype.reset = function() { //Updates how much RAM the script uses when it is running. Script.prototype.updateRamUsage = function() { - var baseRam = 1; //Each script requires 1GB to run regardless + var baseRam = 1.5; //Each script requires 1GB to run regardless var codeCopy = this.code.repeat(1); codeCopy = codeCopy.replace(/\s/g,''); //Remove all whitespace