window and document symbold now occur impossibly high ram cost in nsjs

This commit is contained in:
Olivier Gagnon
2018-06-13 03:57:25 -04:00
parent a97aaf3abb
commit af2e04db10
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ let CONSTANTS = {
/* Netscript Constants */
//RAM Costs for different commands
ScriptBaseRamCost: 1.4,
ScriptCheatRamCost: 1e21, // if someone tries to cheat by using window or document we just spike the ram cost.
ScriptWhileRamCost: 0.2,
ScriptForRamCost: 0.2,
ScriptIfRamCost: 0.15,