Morrowind Mod:Mod File Format/ENCH

Mod / Morrowind: Morrowind Mod: Modding: Mod File Format

ENCH records contain information on enchantments.

C Field Type/Size Info
+ NAME zstring ID string
+ ENDT struct
(16 bytes)
Enchantment data
uint32 - Type
0 = Cast Once
1 = Cast Strikes
2 = Cast when Used
3 = Constant Effect
uint32 - Enchantment Cost
uint32 - Charge
uint32 - Flags
0x1 = Autocalc
Remaining bits appear to be filled with junk data
* ENAM struct
(24 bytes)
Enchantments
uint16 - Effect index
int8 - Skill affected (-1 if not applicable)
int8 - Attribute affected (-1 if not applicable)
uint32 - Range
0 = Self
1 = Touch
2 = Target
uint32 - Area
uint32 - Duration
uint32 - Magnitude Min
uint32 - Magnitude Max