From 59a64ec712e6154dd7176ad2665538059afe14c9 Mon Sep 17 00:00:00 2001 From: TastyPumPum <79149170+TastyPumPum@users.noreply.github.com> Date: Sun, 21 Jul 2024 15:00:09 +0100 Subject: [PATCH] Fix cost --- .../lib/abstracted_commands/managingMiscellaniaCommand.ts | 2 +- src/tasks/managingMiscellaniaActivity.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mahoji/lib/abstracted_commands/managingMiscellaniaCommand.ts b/src/mahoji/lib/abstracted_commands/managingMiscellaniaCommand.ts index f028c56da7..eb866a2676 100644 --- a/src/mahoji/lib/abstracted_commands/managingMiscellaniaCommand.ts +++ b/src/mahoji/lib/abstracted_commands/managingMiscellaniaCommand.ts @@ -126,7 +126,7 @@ export async function managingMiscellaniaCommand( const duration = Time.Minute * 1 + Time.Second * 5 * daysDifference; const daysDifferenceInteger = Math.floor(daysDifference); - const cofferCostInteger = Math.min(daysDifferenceInteger * 7_500, 750_000); + const cofferCostInteger = Math.min(daysDifferenceInteger * 75_000, 7_500_000); const cofferCost = BigInt(cofferCostInteger); diff --git a/src/tasks/managingMiscellaniaActivity.ts b/src/tasks/managingMiscellaniaActivity.ts index 3e6ac19d1e..20ff71a559 100644 --- a/src/tasks/managingMiscellaniaActivity.ts +++ b/src/tasks/managingMiscellaniaActivity.ts @@ -171,7 +171,7 @@ export const managingMiscellaniaTask: MinionTask = { const secondary = secondary_collect; const cofferMax = 75000; - const daysDifference = Math.round(cofferCost / 7500); + const daysDifference = Math.round(cofferCost / 75_000); const workerEffectiveness = (cofferMax * 100) / 8333;