The cls_spkn_*.2da
files are the .2da files that define how many spells are known by a given class at each level.
These .2da's have 60 rows (numbered 0 to 59) to accommodate non-player characters (who may exceed the player character limit of 40 levels). These .2da's additionally have a blank row between the headers and row 0.
Name | Description |
---|---|
ID (no actual name) | 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. |
Level | The class level to which this row applies. It is the row number plus one, so this column is possibly ignored by the game. |
SpellLevel0 | The number of known spells of the indicated spell level at the applicable class level. As usual for .2da files, these should be "****" if the column does not apply (if the class does not have slots of this spell level at this class level).
Classes with fewer than 9 spell levels may omit the excess columns. |
SpellLevel1 | |
SpellLevel2 | |
SpellLevel3 | |
SpellLevel4 | |
SpellLevel5 | |
SpellLevel6 | |
SpellLevel7 | |
SpellLevel8 | |
SpellLevel9 |
The files of this type that are provided in the standard game are named for the class to which they are associated. As there are only two classes with a set number of known spells, there are only two files of this type:
cls_spkn_bard.2da
andcls_spkn_sorc.2da
.