diff --git a/src/Corporation/ui/Overview.tsx b/src/Corporation/ui/Overview.tsx index 12af43423..73f9e14bd 100644 --- a/src/Corporation/ui/Overview.tsx +++ b/src/Corporation/ui/Overview.tsx @@ -296,10 +296,21 @@ function BonusTime(): React.ReactElement { const storedTime = corp.storedCycles * CONSTANTS.MilliPerCycle; if (storedTime <= 15000) return <>; return ( - - Bonus time: {convertTimeMsToTimeElapsedString(storedTime)} -
-
-
+ + + You gain bonus time while offline or when the game is inactive (e.g. when the tab is throttled by the + browser). Bonus time makes the Corporation mechanic progress faster, up to 10x the normal speed. + + } + > + + Bonus time: {convertTimeMsToTimeElapsedString(storedTime)} +
+
+
+
+
); } diff --git a/src/Gang/Gang.ts b/src/Gang/Gang.ts index 9d650a1e4..f998732c9 100644 --- a/src/Gang/Gang.ts +++ b/src/Gang/Gang.ts @@ -81,6 +81,7 @@ export class Gang { } process(numCycles = 1): void { + // Run every cycle const CyclesPerSecond = 1000 / CONSTANTS._idleSpeed; if (isNaN(numCycles)) { @@ -89,6 +90,7 @@ export class Gang { this.storedCycles += numCycles; // Only process if there are at least 2 seconds, and at most 5 seconds + // works out as 5 * 5 for 25x per cycle during bonus time if (this.storedCycles < 2 * CyclesPerSecond) return; const cycles = Math.min(this.storedCycles, 5 * CyclesPerSecond); diff --git a/src/Gang/ui/BonusTime.tsx b/src/Gang/ui/BonusTime.tsx index a7e0af2b9..bfbd1481d 100644 --- a/src/Gang/ui/BonusTime.tsx +++ b/src/Gang/ui/BonusTime.tsx @@ -21,7 +21,7 @@ export function BonusTime(props: IProps): React.ReactElement { title={ You gain bonus time while offline or when the game is inactive (e.g. when the tab is throttled by the - browser). Bonus time makes the Gang mechanic progress faster, up to 5x the normal speed. + browser). Bonus time makes the Gang mechanic progress faster, up to 25x the normal speed. } > diff --git a/src/engine.tsx b/src/engine.tsx index caf7ae26b..27606856e 100644 --- a/src/engine.tsx +++ b/src/engine.tsx @@ -104,7 +104,10 @@ const Engine: { staneksGift.process(numCycles); // Corporation - if (Player.corporation) Player.corporation.storeCycles(numCycles); + if (Player.corporation) { + Player.corporation.storeCycles(numCycles); + Player.corporation.process(); + } // Bladeburner if (Player.bladeburner) Player.bladeburner.storeCycles(numCycles); @@ -192,9 +195,6 @@ const Engine: { Engine.Counters.messages = 150; } } - if (Player.corporation) { - Player.corporation.process(); - } if (Engine.Counters.mechanicProcess <= 0) { if (Player.bladeburner) { try {