Skip to content

SpellItemEnchantmentCondition.dbc ​

📝 Structure on wowdev.wiki ​

 

❌ denotes unused fields

Structure ​

IndexFieldTypeReference
0IDuint32
1LtOperandType_0uint8
2LtOperandType_1uint8
3LtOperandType_2uint8
4LtOperandType_3uint8
5LtOperandType_4uint8
6LtOperand_0uint32
7LtOperand_1uint32
8LtOperand_2uint32
9LtOperand_3uint32
10LtOperand_4uint32
11Operator_0uint8
12Operator_1uint8
13Operator_2uint8
14Operator_3uint8
15Operator_4uint8
16RtOperandType_0uint8
17RtOperandType_1uint8
18RtOperandType_2uint8
19RtOperandType_3uint8
20RtOperandType_4uint8
21RtOperand_0uint32
22RtOperand_1uint32
23RtOperand_2uint32
24RtOperand_3uint32
25RtOperand_4uint32
26Logic_0uint8
27Logic_1uint8
28Logic_2uint8
29Logic_3uint8
30Logic_4uint8

 

Description of fields ​

ID ​

Col: 0 (uint32)

- no description -
 

LtOperandType ​

Col: 1 – 5 (uint8)

unshifted SocketColor: ID = LOG(enumBit, 2) + 1
enum SocketColor

ValueFlagNameComment
10x1SOCKET_COLOR_METAnever combined with other colors
20x2SOCKET_COLOR_RED
40x4SOCKET_COLOR_YELLOW
80x8SOCKET_COLOR_BLUE
140xEprismatic

 

LtOperand ​

❌ Col: 6 – 10 (uint32)

- no description -
 

Operator ​

Col: 11 – 15 (uint8)

  • 2: <
  • 3: >
  • 5: >=
     

RtOperandType ​

Col: 16 – 20 (uint8)

unshifted SocketColor: ID = LOG(enumBit, 2) + 1
enum SocketColor

ValueFlagNameComment
10x1SOCKET_COLOR_METAnever combined with other colors
20x2SOCKET_COLOR_RED
40x4SOCKET_COLOR_YELLOW
80x8SOCKET_COLOR_BLUE
140xEprismatic

 

RtOperand ​

Col: 21 – 25 (uint32)

Amount of LtOperandType gems.
 

Logic ​

❌ Col: 26 – 30 (uint8)

- no description -