Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.


Back-to:World

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.

Structure

Field

Type

Attributes

Key

Null

Default

Extra

Comment

Game event npc vendor tc2

tinyint(3)

signed

 

NO

0

 

 

Game event npc vendor tc2

mediumint(8)

unsigned

PRI

NO

0

 

 

Game event npc vendor tc2

smallint(6)

signed

 

NO

0

 

 

Game event npc vendor tc2

mediumint(8)

unsigned

PRI

NO

0

 

 

Game event npc vendor tc2

mediumint(8)

unsigned

 

NO

0

 

 

Game event npc vendor tc2

mediumint(8)

unsigned

 

NO

0

 

 

Game event npc vendor tc2

mediumint(8)

unsigned

 

NO

0

 

 

Description of the fields

eventEntry

This is the eventEntry from the game_event table that you wish to setup a vendor list for while the event is running.

guid

This is the guid of the NPC that you wish to create a vendor list for.

slot

Position of the item when the vendor window opens (order from top-left to bottom.right of the window with values 0 and then 1,2,3,etc).

item

This is an item from the item_template table.

maxcount

The maximum number of copies of the item the vendor has available to be sold before Game event npc vendor tc2 is up. If 0, then it is an unlimited number of copies.

incrtime

Combined with Game event npc vendor tc2, this field tells how often (in seconds) the vendor list is refreshed and the limited item copies are restocked. For limited item copies, every refresh, the quantity is increased by item_template.BuyCount

ExtendedCost

...

Info
titleThis article has been moved

You can find it in our new wiki at: https://trinitycore.info/en/database/master/world/game_event_npc_vendor