Skip to content
On this page

Athena.systems.dropTable

Interfaces

Functions

get

Usage

Athena.systems.dropTable.get(items, maximumDrops?): Omit<player, "data" | "slot">[]

Given a drop table, roll random items from the table.

Specify maximumDrops, if you want to allow more than 1 item to be pulled.

This can sometimes return zero items depending on the odds.

Export

Parameters

NameTypeDefault value
itemsItemDrop[]undefined
maximumDropsnumber1

Returns

Omit<player, "data" | "slot">[]

Defined in

server/systems/dropTable.ts:68

Created by Stuyk | Est. 2020