Npc vendor

Материал из YTDB DataBase

(Различия между версиями)
Перейти к: навигация, поиск
(ExtendedCost)
Строка 6: Строка 6:
<big>'''The `npc_vendor` table'''</big>
<big>'''The `npc_vendor` table'''</big>
-
 
+
Эта таблица содержит данные для всех NPC торговцев, которые продают предметы. Цена за кажый предмет в золоте устанавливается в  [[item_template#BuyPrice|BuyPrice]].
-
This table holds the vendor data for all NPCs that sell items. The gold price for each item is in its item template as [[item_template#BuyPrice|BuyPrice]].
+
Строка 58: Строка 57:
<big>'''Description of the fields'''</big>
<big>'''Description of the fields'''</big>
====entry====
====entry====
-
The ID of the creature. See [[creature_template#entry|creature_template.entry]]
+
ID Существа. См.[[creature_template#entry|creature_template.entry]]
====item====
====item====
-
The item ID. See [[item_template#entry|item_template.entry]]
+
ID предмета. См. [[item_template#entry|item_template.entry]]
====maxcount====
====maxcount====
-
The maximum number of copies of the item the vendor has available to be sold. If 0, then it is an unlimited number of copies.
+
Максимальное количество копий предмета, которые торговец может продать. Если =0, количество копий неограничено
====incrtime====
====incrtime====
-
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]]
+
В сочетании с  [[#maxcount|maxcount]],это поле указывает, как часто (в секундах), список товаров торговца будет обновляется, восполняя число копий для предметов с ограниченным количеством. Для таких предметов каждое обновление будет увеличивать количество на [[item_template#BuyCount|item_template.BuyCount]]
====ExtendedCost====
====ExtendedCost====
-
The value here corresponds to the ID in [[ItemExtendedCost.dbc]] 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.
+
ID стоимости из [[ItemExtendedCost.dbc]]. Этот ID устанавливает неденежную стоимость: очки чести, очки арены различные типы эмблем и комбинации всех вышеперечисленных.

Версия 07:18, 7 марта 2010

Содержание

Back to world database list of tables.


The `npc_vendor` table Эта таблица содержит данные для всех NPC торговцев, которые продают предметы. Цена за кажый предмет в золоте устанавливается в BuyPrice.


Structure

Field Type Null Key Default Extra
entry int(10) unsigned NO PRI 0
item int(10) unsigned NO PRI 0
maxcount int(10) unsigned NO 0
incrtime int(10) unsigned NO 0
ExtendedCost mediumint(8) unsigned NO 0


Description of the fields

entry

ID Существа. См.creature_template.entry

item

ID предмета. См. item_template.entry

maxcount

Максимальное количество копий предмета, которые торговец может продать. Если =0, количество копий неограничено

incrtime

В сочетании с maxcount,это поле указывает, как часто (в секундах), список товаров торговца будет обновляется, восполняя число копий для предметов с ограниченным количеством. Для таких предметов каждое обновление будет увеличивать количество на item_template.BuyCount

ExtendedCost

ID стоимости из ItemExtendedCost.dbc. Этот ID устанавливает неденежную стоимость: очки чести, очки арены различные типы эмблем и комбинации всех вышеперечисленных.

Личные инструменты