AzerothCore
Pages :

item_loot_\storage

<-Back-to:Characters

The `item_loot_\storage` table

Table Structure

Field Type Attributes Key Null Default Extra Comment
containerGUID INT UNSIGNED NO
itemid INT UNSIGNED NO
count INT UNSIGNED NO
item_index INT UNSIGNED NO 0
randomPropertyId INT SIGNED NO
randomSuffix INT UNSIGNED NO
follow_loot_rules TINYINT UNSIGNED NO
freeforall TINYINT UNSIGNED NO
is_blocked TINYINT UNSIGNED NO
is_counted TINYINT UNSIGNED NO
is_underthreshold TINYINT UNSIGNED NO
needs_quest TINYINT UNSIGNED NO
conditionLootId INT SIGNED NO 0

Description of the fields

containerGUID

GUID of the container item the loot is in, for example a clam or a lockbox. See item_instance.guid.

itemid

The item entry. See item_template.entry.

count

Number of items.

item_index

Index used to distinguish multiple stored stacks of the same item within the same container.

randomPropertyId

The random property of the item. See item_instance.randomPropertyId.

randomSuffix

The random suffix factor of the item.

follow_loot_rules

1 if the item follows the group loot rules.

freeforall

1 if every player can loot their own copy of the item.

is_blocked

1 if the item is blocked while the group rolls for it.

is_counted

1 if the item has been counted for the loot.

is_underthreshold

1 if the item quality is below the group loot threshold.

needs_quest

1 if the item is a quest item.

conditionLootId

The SourceGroup of the conditions of the item, 0 if the item has no conditions.