Represents a possible drop inside a LootBox.
LootBox
Namespace: Esper.Inventool.Items Access: public Type: class Attributes: [Serializable]
Esper.Inventool.Items
public
class
[Serializable]
itemStack
ItemStack
The item stack that can drop.
dropRate
float
The chance of this item dropping, relative to other drops.
minAmount
int
The minimum number of items in the stack when dropped.
maxAmount
The maximum number of items in the stack when dropped.
rangeStart
The start of this drop’s probability range. (Calculated internally)
rangeEnd
The end of this drop’s probability range. (Calculated internally)
GetRandomAmount()
Gets a random amount between minAmount and maxAmount.
CreateItemStack()
Creates a new item stack with a randomized amount.
Last updated 4 months ago