Skip to main content
Module

x/fortuna/src/machine.ts

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

Classes

Gacha system.

Interfaces

Data fed to the constructor. The result property holds the result that will be returned after rolling. chance is the weight of the result.