import { type ComputedGachaData } from "https://deno.land/x/fortuna@v2.0.3/mod.ts";
Data transformed by the constructor, fed to the binary search function.
The result
property holds the result that will be returned after rolling.
chance
is the weight of the result.
cumulativeChance
is used to make it fit for binary search.
tier
is an optional parameter to group the items for rolling.