From 58a471981c3969a253635783784cc42a88a8e128 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Sun, 9 Jun 2024 15:25:00 -0400 Subject: [PATCH] fix reducer starting at tier 0 --- src/Myrian/Helper.tsx | 2 +- src/Myrian/formulas/formulas.ts | 2 +- src/ScriptEditor/NetscriptDefinitions.d.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Myrian/Helper.tsx b/src/Myrian/Helper.tsx index 18f33708d..6a57f2a71 100644 --- a/src/Myrian/Helper.tsx +++ b/src/Myrian/Helper.tsx @@ -51,7 +51,7 @@ export const NewReducer = (name: string, x: number, y: number) => { y, content: [], maxContent: 2, - tier: 0, + tier: 1, }); }; diff --git a/src/Myrian/formulas/formulas.ts b/src/Myrian/formulas/formulas.ts index 958f914ab..149fcc406 100644 --- a/src/Myrian/formulas/formulas.ts +++ b/src/Myrian/formulas/formulas.ts @@ -24,7 +24,7 @@ export const moveSpeed = (level: number) => 1000 / (level + 10); export const reduceSpeed = (level: number) => 50000 / (level + 10); export const transferSpeed = (level: number) => 1000 / (level + 10); export const installSpeed = (level: number) => 100000 / (level + 10); -export const isocketSpeed = (level: number) => 10000 / (level + 10); +export const isocketSpeed = (level: number) => 100000 / (level + 10); const countDevices = (type: DeviceType) => myrian.devices.reduce((acc, d) => (d.type === type ? acc + 1 : acc), 0); diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 671f001ce..f0828f0ca 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -5287,7 +5287,7 @@ interface Myrian { */ DEBUG_GIVE_VULNS(n: number): void; /** - * Completely reset the myrian kernel, for debug purposes + * Completely reset the myrian os, for debug purposes * @remarks * RAM cost: 0 GB */