The `game_event_npc_vendor` table
This table allows you to change the items a vendor sells, or to create a vendor list for an NPC who does not sell items unless an event is active.
Table Structure
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
---|---|---|---|---|---|---|---|
eventEntry | SMALLINT | SIGNED | NO | 0 | |||
guid | MEDIUMINT | UNSIGNED | PRI | NO | 0 | ||
slot | SMALLINT | SIGNED | NO | 0 | |||
item | MEDIUMINT | UNSIGNED | PRI | NO | 0 | ||
maxcount | MEDIUMINT | UNSIGNED | NO | 0 | |||
incrtime | MEDIUMINT | UNSIGNED | NO | 0 | |||
ExtendedCost | MEDIUMINT | UNSIGNED | NO | 0 |
Description of the fields
Refers to: game_event.entry.
Only a positve value can be used.
Refers to: creature.guid.
Refer to: npc_vendor.slot.
Refers to: item_template.entry.
Refer to: npc_vendor.maxcount.
Refer to: npc_vendor.incrtime.
Refer to: npc_vendor.extendedcost.