game_event_npc_vendor
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
eventEntry
Refers to: game_event.entry.
Only a positve value can be used.
guid
Refers to: creature.guid.
slot
Refer to: npc_vendor.slot.
item
Refers to: item_template.entry.
maxcount
Refer to: npc_vendor.maxcount.
incrtime
Refer to: npc_vendor.incrtime.
ExtendedCost
Refer to: npc_vendor.extendedcost.