method GachaMachine.rollimport { GachaMachine } from "https://deno.land/x/fortuna@v2.0.1/history/v1.ts"; roll<ItemType>(choices: GachaChoice<ItemType>[], totalChance?: number): GachaChoice<ItemType>Roll one from an array of gacha choices. Type ParametersItemTypeParameterschoices: GachaChoice<ItemType>[] Choices to roll from. optionaltotalChance: number Sum of all chance properties. ReturnsGachaChoice<ItemType>Items rolled.