summaryrefslogtreecommitdiff
path: root/docs/npc_vendor.md
diff options
context:
space:
mode:
authorBarbz <BarbzYHOOL@users.noreply.github.com>2020-05-18 19:17:01 +0200
committerGitHub <noreply@github.com>2020-05-18 19:17:01 +0200
commit88a197bf09fe2ba4e191ffc45d4cee29b258475c (patch)
tree2a92c3ca4b5c2468958b6c35bcd481d7e0055d6e /docs/npc_vendor.md
parent6fc9c4132a2a4d640e165381ff8ed41c76b1fd9b (diff)
downloadwiki-88a197bf09fe2ba4e191ffc45d4cee29b258475c.tar.gz
wiki-88a197bf09fe2ba4e191ffc45d4cee29b258475c.tar.bz2
wiki-88a197bf09fe2ba4e191ffc45d4cee29b258475c.zip
Update npc_vendor.md
Diffstat (limited to 'docs/npc_vendor.md')
-rw-r--r--docs/npc_vendor.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/npc_vendor.md b/docs/npc_vendor.md
index abc4048..2480536 100644
--- a/docs/npc_vendor.md
+++ b/docs/npc_vendor.md
@@ -2,17 +2,17 @@
[<-Back-to:World](database-world.md)
-**General information**
+## General information
This table holds the vendor data for all NPCs that sell items or currencies.
-The price (in gold) for each item or currency is defined in its item template related entry as [BuyPrice](item_template#buyprice).
+The price (in gold) for each item or currency is defined in its item template related entry as [item_template.BuyPrice](item_template#buyprice).
Special costs (honor, tokens etc...) are defined in this table in the column [ExtendedCost](#extendedcost).
If you open the vendor's window in GM mode, you will see all the items sold by the vendor. If you disable GM mode, you will see the items sold like a normal player (ex: only for your own faction, only for your own class etc...).
-**Table Structure**
+## Table Structure
| Field | Type | Attributes | Key | Null | Default |
|-------------------|--------------|------------|-----|------|---------|
@@ -31,11 +31,11 @@ If you open the vendor's window in GM mode, you will see all the items sold by t
[6]: #extendedcost
-**Field Descriptions**
+## Field Descriptions
### entry
-The ID of the creature. See [creature\_template.entry](creature_template#creature_template-entry).
+The ID of the creature. See [creature\_template.entry](creature_template#entry).
### slot
@@ -43,7 +43,7 @@ Position of the item when the vendor window opens. The image below explains how
### item
-The item ID. See  [item\_template.entry](item_template#item_template-entry).
+The item ID. See  [item\_template.entry](item_template#entry).
### maxcount
@@ -51,8 +51,8 @@ The maximum number of items carried by the vendor at any time. If you want the v
### incrtime
-Combined with [maxcount](#npc_vendor-maxcount), 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](item_template#item_template-BuyCount) .
+Combined with [maxcount](#maxcount), 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](item_template#buycount) .
### ExtendedCost
-The value here corresponds to the ID in [ItemExtendedCost.dbc](ItemExtendedCost) and that ID controls the item's non monetary price, be it honor points, arena points, different types of badges or any combination of the above.
+The value here corresponds to the ID in [ItemExtendedCost.dbc](NO_LINK_YET) and that ID controls the item's non monetary price, be it honor points, arena points, different types of badges or any combination of the above.