Skip to main content
The Deno 2 Release Candidate is here
Learn more
method BotWeaponGeneratorHelper.prototype.getRandomizedBulletCount
import { BotWeaponGeneratorHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/mod.ts";

Get a randomized number of bullets for a specific magazine

Parameters

magCounts: GenerationData

Weights of magazines

magTemplate: ITemplateItem

magazine to generate bullet count for

Returns

number

bullet count number