Versiones comparadas

Clave

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

...

Field

Type

Attributes

Key

Null

Default

Extra

Comment

Item enchantment template tc2entry

mediumint(8)

unsigned

PRI

NO

0

 

 

Item enchantment template tc2ench

mediumint(8)

unsigned

PRI

NO

0

 

 

Item enchantment template tc2chance

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.