Athena.systems.dropTable ​
Interfaces ​
Functions ​
get ​
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 ​
Name | Type | Default value |
---|---|---|
items | ItemDrop [] | undefined |
maximumDrops | number | 1 |
Returns ​
Omit
<player
, "data"
| "slot"
>[]