QcLootTableDefinition::Entry Struct
struct QcLootTableDefinition::EntryOne entry of a pool: an item and how many of it, drawn by weight. More...
Public Variables
Detailed Description
Member Variable Documentation
QString Entry::item
Content name of the item; empty: the draw gives nothing.
int Entry::maxCount
Most items a draw gives ("count", the number or the second of [min, max]).
int Entry::minCount
Fewest items a draw gives ("count", a number or the first of [min, max]).
int Entry::weight
Relative chance against the other entries of the pool ("weight", 0 to maxWeight, default 1).