From c86855b0ac57c629e6433414257cf8a8735fd5de Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 6 Nov 2024 11:04:01 +0000 Subject: [PATCH] Remove unused `getRandomisedCount()` fundtion --- project/src/generators/BotLootGenerator.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/project/src/generators/BotLootGenerator.ts b/project/src/generators/BotLootGenerator.ts index 1bc5674a..348b7283 100644 --- a/project/src/generators/BotLootGenerator.ts +++ b/project/src/generators/BotLootGenerator.ts @@ -389,18 +389,6 @@ export class BotLootGenerator { ); } - /** - * Get a biased random number - * @param min Smallest size - * @param max Biggest size - * @param nValue Value to bias choice - * @returns Chosen number - */ - protected getRandomisedCount(min: number, max: number, nValue: number): number { - const range = max - min; - return this.randomUtil.getBiasedRandomNumber(min, max, range, nValue); - } - /** * Take random items from a pool and add to an inventory until totalItemCount or totalValueLimit or space limit is reached * @param pool Pool of items to pick from with weight