Item_enchantment_template - cmangos/issues GitHub Wiki

Back to world database list of tables.

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 Key Default Extra
entry int(10) unsigned NO PRI 0
ench int(10) 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.

NOTE: For 4.3.4 Core Use Negative Values To Specify a Random Suffix Entry and a Positive Value for a Random Properties Value

This is to prevent overlapping values since in 4.3.4 Official Data we do have about 12 overlapping Random Property and Random Suffix entries.

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.

ItemRandomSuffix.dbc:

ID Name Comment
5 of the Monkey
6 of the Eagle
7 of the Bear
8 of the Whale
9 of the Owl
10 of the Gorilla
11 of the Falcon
12 of the Boar
13 of the Wolf
14 of the Tiger
15 of Spirit
16 of Stamina
17 of Strength
18 of Agility
19 of Intellect
20 of Power wotlk+
21 of Arcane Wrath of Spell Power wotlk+
22 of Fiery Wrath of Spell Power wotlk+
23 of Frozen Wrath of Spell Power wotlk+
24 of Nature’s Wrath of Spell Power wotlk+
25 of Shadow Wrath of Spell Power wotlk+
26 of Healing of Spell Power wotlk+
27 of Defense
28 of Regeneration
29 of Eluding
30 of Concentration
31 of Arcane Protection
32 of Fire Protection
33 of Frost Protection
34 of Nature Protection
35 of Shadow Protection
36 of the Sorcerer
37 of the Physician
38 of the Prophet
39 of the Invoker
40 of the Bandit
41 of the Beast
42 of the Hierophant
43 of the Soldier
44 of the Elder
45 of the Champion
46 of the Test
47 of Blocking
48 of Paladin Testing
49 of the Grove
50 of the Hunt
51 of the Mind
52 of the Crusade
53 of the Vision
54 of the Ancestor
55 of the Nightmare
56 of the Battle
57 of the Shadow
58 of the Sun
59 of the Moon
60 of the Wild
61 of Healing (Resistance) of Spell Power (Resistance) wotlk+
62 of Strength (Resistance)
63 of Agility (Resistance)
64 of Power (Resistance)
65 of Magic (Resistance)
66 of the Knight last tbc value ItemRandomSuffix.dbc
67 of the Seer

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.

⚠️ **GitHub.com Fallback** ⚠️