Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LootTable

Hierarchy

  • LootTable

Index

Constructors

constructor

Properties

allItems

allItems: number[]

everyItems

everyItems: LootTableItem[]

length

length: number

Optional limit

limit: undefined | number

oneInItems

oneInItems: OneInItems[]

table

table: LootTableItem[]

tertiaryItems

tertiaryItems: OneInItems[]

totalWeight

totalWeight: number

Methods

add

Private addResultToLoot

Private addToAllItems

clone

Protected determineQuantity

  • determineQuantity(quantity: number | number[]): number

every

oneIn

Private resolveName

  • resolveName(name: string): number

roll

  • roll(quantity?: number): Bank

tertiary