Classes

IndividualLoot

Loot from a individual encounter

Constructor

Argument Type Description Optional
level number Challenge level of the encounter true

Properties

.challengelevel READ ONLY

The challenge level of the encounter.
Type: Money

.money READ ONLY

All of the coins obtained from the encounter.
Type: Number



HoardLoot

Extends IndividualLoot

Loot from a hoard encounter

Constructor

Argument Type Description Optional
level number Challenge level of the encounter true

Properties

.items READ ONLY

All of the items obtained from the encounter.
Type: AllItems



Money

Represents all the money obtained from an encounter

Constructor

Argument Type Description Optional
roll number The value rolled on the table false
type string The type loot rolls being done (individual or hoard) false
difficultyRating string The challenge rating of the encounter false

Properties

.copper READ ONLY

The copper coins obtained.
Type: CoinData

.silver READ ONLY

The silver coins obtained.
Type: CoinData

.electrum READ ONLY

The electrum coins obtained.
Type: CoinData

.gold READ ONLY

The gold coins obtained.
Type: CoinData

.platinum READ ONLY

The platinum coins obtained.
Type: CoinData

Methods

.reroll()

Rerolls the coins obtained.
Returns: Void

Argument Type Description Optional
N/A N/A N/A N/A

.inCopper()

Returns the total value of all coins using copper as the highest denomination.
Returns: String

Argument Type Description Optional
N/A N/A N/A N/A

.inSilver()

Returns the total value of all coins using silver as the highest denomination.
Returns: String

Argument Type Description Optional
N/A N/A N/A N/A

.inElectrum()

Returns the total value of all coins using electrum as the highest denomination.
Returns: String

Argument Type Description Optional
N/A N/A N/A N/A

.inGold()

Returns the total value of all coins using gold as the highest denomination.
Returns: String

Argument Type Description Optional
N/A N/A N/A N/A

.inPlatinum()

Returns the total value of all coins using platinum as the highest denomination.
Returns: String

Argument Type Description Optional
N/A N/A N/A N/A



AllItems

Represents all the items obtained from an encounter.

Constructor

Argument Type Description Optional
level number Challenge level of the encounter true

Properties

.art READ ONLY

The art objects obtained.
Type: ArtData

.gem READ ONLY

The gems obtained.
Type: GemData

.magicItems READ ONLY

The magic items obtained.
Type: Array < MagicItem >

Methods

.reroll()

Rerolls the items obtained.
Returns: Void

Argument Type Description Optional
N/A N/A N/A N/A

Types


Back to top of page