import { useWeighted } from "https://deno.land/x/netsaur@0.4.2/packages/utilities/src/mod.ts";
Roll one from an array of weighted choices.
Parameters
choices: WeightedChoice<ItemType>[]
- Choices to roll from.
import { useWeighted } from "https://deno.land/x/netsaur@0.4.2/packages/utilities/src/mod.ts";
Roll one from an array of weighted choices.