SpellItemEnchantmentCondition.dbc
📝 Structure on wowdev.wiki
❌ denotes unused fields
Structure
| Index | Field | Type | Reference |
|---|---|---|---|
| 0 | ID | uint32 | |
| 1 | LtOperandType_0 | uint8 | |
| 2 | LtOperandType_1 | uint8 | |
| 3 | LtOperandType_2 | uint8 | |
| 4 | LtOperandType_3 | uint8 | |
| 5 | LtOperandType_4 | uint8 | |
| 6 | LtOperand_0 | uint32 | |
| 7 | LtOperand_1 | uint32 | |
| 8 | LtOperand_2 | uint32 | |
| 9 | LtOperand_3 | uint32 | |
| 10 | LtOperand_4 | uint32 | |
| 11 | Operator_0 | uint8 | |
| 12 | Operator_1 | uint8 | |
| 13 | Operator_2 | uint8 | |
| 14 | Operator_3 | uint8 | |
| 15 | Operator_4 | uint8 | |
| 16 | RtOperandType_0 | uint8 | |
| 17 | RtOperandType_1 | uint8 | |
| 18 | RtOperandType_2 | uint8 | |
| 19 | RtOperandType_3 | uint8 | |
| 20 | RtOperandType_4 | uint8 | |
| 21 | RtOperand_0 | uint32 | |
| 22 | RtOperand_1 | uint32 | |
| 23 | RtOperand_2 | uint32 | |
| 24 | RtOperand_3 | uint32 | |
| 25 | RtOperand_4 | uint32 | |
| 26 | Logic_0 | uint8 | |
| 27 | Logic_1 | uint8 | |
| 28 | Logic_2 | uint8 | |
| 29 | Logic_3 | uint8 | |
| 30 | Logic_4 | uint8 |
Description of fields
ID
Col: 0 (uint32)
- no description -
LtOperandType
Col: 1 – 5 (uint8)
unshifted SocketColor: ID = LOG(enumBit, 2) + 1enum SocketColor
| Value | Flag | Name | Comment |
|---|---|---|---|
| 1 | 0x1 | SOCKET_COLOR_META | never combined with other colors |
| 2 | 0x2 | SOCKET_COLOR_RED | |
| 4 | 0x4 | SOCKET_COLOR_YELLOW | |
| 8 | 0x8 | SOCKET_COLOR_BLUE | |
| 14 | 0xE | prismatic |
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) + 1enum SocketColor
| Value | Flag | Name | Comment |
|---|---|---|---|
| 1 | 0x1 | SOCKET_COLOR_META | never combined with other colors |
| 2 | 0x2 | SOCKET_COLOR_RED | |
| 4 | 0x4 | SOCKET_COLOR_YELLOW | |
| 8 | 0x8 | SOCKET_COLOR_BLUE | |
| 14 | 0xE | prismatic |
RtOperand
Col: 21 – 25 (uint32)
Amount of LtOperandType gems.
Logic
❌ Col: 26 – 30 (uint8)
- no description -
