Remove unused getRandomisedCount() fundtion

This commit is contained in:
Dev 2024-11-06 11:04:01 +00:00
parent 2da75efc34
commit c86855b0ac

View File

@ -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