Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fortuna/history/v1.ts>Fortuna#get

Weighted gacha system
Go to Latest
method Fortuna.prototype.get
import { Fortuna } from "https://deno.land/x/fortuna@v2.0.1/history/v1.ts";

Roll a number of items from the machine.

Parameters

optional
num = [UNSUPPORTED]
  • Number of items to roll.
optional
detailed = [UNSUPPORTED]
  • Whether to return the entire roll object instead of just the result.
optional
pool: number[] = [UNSUPPORTED]
  • Custom pool of tiers to use for this roll.

Returns

GachaChoice<ItemType>[] | ItemType[]

array of results.