Item enchantment template

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

(Различия между версиями)
Перейти к: навигация, поиск
(Новая страница: «{| align="right" | __TOC__ |} Back to world database list of tables. <big>'''The `item_enchantment_template` table'''</big> This table holds e…»)
 
(3 промежуточные версии не показаны)
Строка 2: Строка 2:
| __TOC__
| __TOC__
|}
|}
-
Back to [[mangosdb_struct|world database]] list of tables.
+
[[Category: Mangos world database tables]]
 +
К описанию таблиц [[mangosdb_struct|базы данных mangos]].
Строка 15: Строка 16:
|'''Type'''
|'''Type'''
|'''Null'''
|'''Null'''
 +
|'''Attributes'''
|'''Key'''
|'''Key'''
|'''Default'''
|'''Default'''
-
|'''Extra'''
+
|'''Comments'''
|-
|-
|[[#entry|entry]]
|[[#entry|entry]]
-
|int(10) unsigned
+
|mediumint(8)
 +
|unsigned
|NO
|NO
|PRI
|PRI
Строка 27: Строка 30:
|-
|-
|[[#ench|ench]]
|[[#ench|ench]]
-
|int(10) unsigned
+
|mediumint(8)
 +
|unsigned
|NO
|NO
|PRI
|PRI
Строка 34: Строка 38:
|-
|-
|[[#chance|chance]]
|[[#chance|chance]]
-
|float unsigned
+
|float
 +
|unsigned
|NO
|NO
|
|

Текущая версия на 17:21, 10 декабря 2010

Содержание

К описанию таблиц базы данных mangos.


The `item_enchantment_template` table

This table holds enchantment chance information for items that should have either a random property or a random suffix attached to them.


Structure

Field Type Null Attributes Key Default Comments
entry mediumint(8) unsigned NO PRI 0
ench mediumint(8) unsigned NO PRI 0
chance float unsigned NO 0


Description of the fields

entry

This field ties in with EITHER RandomProperty OR RandomSuffix fields in the item_template table. An item cannot have both of those fields set at non-zero values.

ench

The enchantment to apply on the item. If the entry for the current row is used in RandomProperty, then this field points to the ID in ItemRandomProperties.dbc. If the entry is used in RandomSuffix, then this field points to the ID in ItemRandomSuffix.dbc.

chance

The chance for a random property or suffix to be applied to the item. For each entry in this table, the combined chances of all properties/suffixes need to equal 100 otherwise the item may not get a random enchantment on it.

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