Class GenerateLootUtil
java.lang.Object
pl.szczurowsky.loottableparser.util.GenerateLootUtil
Utility class for generating loot from loot table
-
Method Summary
Modifier and TypeMethodDescriptiongenerateLootForPool
(LootPool lootPool, boolean bonus) Generates loot for given loot poolgenerateLootForTable
(LootTableObject lootTableObject, boolean bonus) Generates loot for given loot table
-
Method Details
-
generateLootForPool
Generates loot for given loot pool- Parameters:
lootPool
- loot pool to generate loot forbonus
- if bonus rolls should be included- Returns:
- list of loot entries
-
generateLootForTable
Generates loot for given loot table- Parameters:
lootTableObject
- loot table to generate loot forbonus
- if bonus rolls should be included- Returns:
- list of loot entries
-