用户工具

站点工具


数据库:world数据库:item_enchantment_template

item_enchantment_template 表


<-返回:World 数据库

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

表结构

FieldTypeAttributesKeyNullDefaultExtraComment
entryMEDIUMINTUNSIGNEDPRINO0
enchMEDIUMINTUNSIGNEDPRINO0
chanceFLOATUNSIGNED NO0

字段说明


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.

Value must be >=0. If the value does not meet the condition the SQL will fail on item_enchantment_template_chk_1.

数据库/world数据库/item_enchantment_template.txt · 最后更改: 2023/09/24 21:30 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki