v1 api breaks

This commit is contained in:
Olivier Gagnon
2021-11-02 22:11:22 -04:00
parent fcf29fa37c
commit b2bf3fc21f
13 changed files with 273 additions and 242 deletions
+8 -8
View File
@@ -80,9 +80,9 @@ export const RamCosts: IMap<any> = {
scan: RamCostConstants.ScriptScanRamCost,
hack: RamCostConstants.ScriptHackRamCost,
hackAnalyzeThreads: RamCostConstants.ScriptHackAnalyzeRamCost,
hackAnalyzePercent: RamCostConstants.ScriptHackAnalyzeRamCost,
hackAnalyze: RamCostConstants.ScriptHackAnalyzeRamCost,
hackAnalyzeSecurity: RamCostConstants.ScriptHackAnalyzeRamCost,
hackChance: RamCostConstants.ScriptHackAnalyzeRamCost,
hackAnalyzeChance: RamCostConstants.ScriptHackAnalyzeRamCost,
sleep: 0,
grow: RamCostConstants.ScriptGrowRamCost,
growthAnalyze: RamCostConstants.ScriptGrowthAnalyzeRamCost,
@@ -160,12 +160,12 @@ export const RamCosts: IMap<any> = {
purchaseServer: RamCostConstants.ScriptPurchaseServerRamCost,
deleteServer: RamCostConstants.ScriptPurchaseServerRamCost,
getPurchasedServers: RamCostConstants.ScriptPurchaseServerRamCost,
write: RamCostConstants.ScriptReadWriteRamCost,
tryWrite: RamCostConstants.ScriptReadWriteRamCost,
read: RamCostConstants.ScriptReadWriteRamCost,
peek: RamCostConstants.ScriptReadWriteRamCost,
clear: RamCostConstants.ScriptReadWriteRamCost,
getPortHandle: RamCostConstants.ScriptReadWriteRamCost * 10,
write: 0,
tryWrite: 0,
read: 0,
peek: 0,
clear: 0,
getPortHandle: 0,
rm: RamCostConstants.ScriptReadWriteRamCost,
scriptRunning: RamCostConstants.ScriptArbScriptRamCost,
scriptKill: RamCostConstants.ScriptArbScriptRamCost,