Skip to main content
Module

x/fortuna/src/roll.ts

A TypeScript module for random events and gacha.
Latest
import * as fortuna from "https://deno.land/x/fortuna@v4.1.3/src/roll.ts";

Functions

Roll one item from a pool using linear search. Simple and great for one-time use pools. Use GachaMachine if you will be picking multiple items from the same pool.