creature_loot_template
Contains items dropped by slain creatures.
Please refer to the generic description of the loot system for more information.
Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| Entry | int | unsigned | PRI | NO | 0 | ||
| Item | int | unsigned | PRI | NO | 0 | ||
| Reference | int | unsigned | NO | 0 | |||
| Chance | float | NO | 100 | ||||
| QuestRequired | tinyint(1) | signed | NO | 0 | |||
| LootMode | smallint | unsigned | NO | 1 | |||
| GroupId | tinyint | unsigned | NO | 0 | |||
| MinCount | tinyint | unsigned | NO | 1 | |||
| MaxCount | tinyint | unsigned | NO | 1 | |||
| Comment | varchar(255) | YES | NULL | ||||
Description of fields
Entry
creature_template entry
Item
- no description -
Reference
reference_loot_template entry
Chance
- Reference = 0: real chance = creature_loot_template.Chance
- Reference > 0: real chance = creature_loot_template.Chance * reference_loot_template.Chance
QuestRequired
- no description -
LootMode
| Value | Name |
|---|---|
| 0x0001 | LOOT_MODE_DEFAULT |
| 0x0002 | LOOT_MODE_HARD_MODE_1 |
| 0x0004 | LOOT_MODE_HARD_MODE_2 |
| 0x0008 | LOOT_MODE_HARD_MODE_3 |
| 0x0010 | LOOT_MODE_HARD_MODE_4 |
| 0x8000 | LOOT_MODE_JUNK_FISH |
GroupId
groupid < 128(1 << 7) if groupid >= 128, trigger bug then all creature will not loot anything.
if Reference > 0, then creature_loot_template.GroupId must equal reference_loot_template.GroupId, if not then will not loot anything.
MinCount
- no description -
MaxCount
- no description -
Comment
- no description -
