Introduction
The iprp_spells.2da is used to define what spells are available as magical properties on an item. For example this 2da controls what spells you can have on wands/rods, potions and so on.
Structure
| Column | Value | Purpose | |
|---|---|---|---|
| 1 | Row No. | Integer | Row numbers for the benefit of human readers. The game engine ignores the value in this field, instead generating sequential row numbers as the file is read. It is good practice to keep the entries in this field sequentially numbered to avoid confusion. |
| 2 | Label | Text | The name of the spell, for the reference of the human reader. |
| 3 | Name | Integer | A StringRef for the name of the item property. (The name of the item property is usually the spell name followed by the caster level in parentheses.) |
| 4 | CasterLvl | Integer | The caster level that will be used when this item property is used to cast a spell. |
| 5 | InnateLvl | Integer | The innate level of the spell. This should match the innate level defined in spells.2da. |
| 6 | Cost | Float | A number giving a value to this property; it affects how much the cost of an item increases when given this property. If a property is using charges on an item, then the spell cost is also managed by iprp_chargecost.2da. |
| 7 | SpellIndex | Integer | An index into spells.2da defining which spell is cast when this item property is used. |
| 8 | PotionUse | Integer | Indicates whether or not this property can be selected for potions created in the Toolset. 0 = not valid for potions; 1 = valid for potions |
| 9 | WandUse | Integer | Indicates whether or not this property can be selected for wands created in the Toolset. 0 = not valid for wands; 1 = valid for wands |
| 10 | GeneralItems | Integer | Indicates whether or not this property can be selected for items created in the Toolset other than potions and wands. |
| 11 | Icon | Text | The tag of the icon to be used for scrolls that have this item property (replacing the blank scroll icon). |