Expansion for LootTable

Link to expansion-for-loottable

Additional methods for easier modification of a specific loot table.

Name: addLootModifier

Adds an ILootModifier to this loot table, with the given name.

ZenScript
Copy
LootTable.addLootModifier(name as string, modifier as ILootModifier)
ParameterTypeDescription
Parameter
name
Type
string
Description
The name of the loot modifier to add.
Parameter
modifier
Type
ILootModifier
Description
The loot modifier to add.