import { useWeighted } from "https://deno.land/x/vectorizer@v0.7.5/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/vectorizer@v0.7.5/src/mod.ts";
Roll one from an array of weighted choices.