Morrowind Mod:Mod File Format/SPEL

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

SPEL records contain spells.

C Field Type/Size Info
+ NAME zstring ID
- FNAM zstring Name
+ SPDT struct
(12 bytes)
Spell Data
uint32 - Type
0 = Spell
1 = Ability
2 = Blight
3 = Disease
4 = Curse (unused)
5 = Power
uint32 - SpellCost
uint32 - Flags
0x1 = AutoCalc
0x2 = PC Start
0x4 = Always Succeeds
* 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