Oblivion Mod:Mod File Format/LVSP

Mod / Oblivion: Oblivion Mod: Modding: Mod File Format

An LVSP record defines a leveled spell. There is an LVLO subrecord for each entry in the leveled list.

Subrecord Type Info
EDID zstring Editor ID
LVLD byte Chance none
LVLF ubyte Flags
0x01 = Calculate from all levels <= player's level
0x02 = Calculate for each item in count
0x04 = Use all spells
LVLO short Level
ubyte[2] Unknown
formid Item form ID
short Count
ubyte[2] Unknown

Some of the older LVSP records do not have an LVLF subrecord and instead use the high-order bit of the LVLD subrecord for the "calculate from all levels <= player's level" flag.