Des crft spells.2da

The   file is the 2da file that describes the spells available for crafting with brew potion, craft wand and scribe scroll. It specifies the item property (which in turn defines the caster level) used for the resulting potions and wands &mdash; but not scrolls &mdash; and marks certain spells as being unavailable for crafting, despite otherwise meeting the criteria of the feats. Refer to des_crft_spells.2da (table) for the contents of the actual file.

Each row in this file corresponds to the spell with the same row number in. (There is a bug in the file where spell 627 is skipped, but since this is after all spells that can be used with the crafting feats, this bug has no effect in the game.)

Column notes
The "IPRP_SpellIndex" column is what determines the item property given to brewed potions and crafted wands. This is what determines the caster level of the resulting items. (If set incorrectly, the resulting items could cast a different spell than was used to create the item.)

The "Level" column &mdash; not the spell's "true" innate level &mdash; is used when determining if a spell meets the level requirements of brew potion and craft wand. It is also used when calculating the costs of all three types of crafting. Players tend to expect a match between this column and the innate level used elsewhere in the game.