#include <constdata.h>
Instances of this structure appear (sort of) in data/playerclass.m4. The layout of this structure must remained synchronized with the corresponding macro in that file.
Definition at line 133 of file constdata.h.
Data Fields | |
| filelink | name |
| Link to string: name of the class. | |
| uint | base_stat [NUM_BASE_STATS] |
| Minimum attributes (St, Dx, To, Wi, Mn). | |
| uint | max_stat [NUM_BASE_STATS] |
| Maximum starting attributes. | |
| uint | free_points |
| Number of points to assign randomly to attributes. | |
| uint | spellcasting [3] |
| Spellcasting skill for each type of spell (SPELLTYPE_ARCANE, SPELLTYPE_DIVINE, SPELLTYPE_NECROMANCY). | |
| uint | weapon_skill_factor |
| Multiplier to number of marks needed to gain a skill level. | |
| uint | weapon_skill_start |
| Starting weapon skill (all weapon types). | |
|
|
Minimum attributes (St, Dx, To, Wi, Mn).
Definition at line 137 of file constdata.h. Referenced by distribute_attributes(). |
|
|
Number of points to assign randomly to attributes.
Definition at line 139 of file constdata.h. Referenced by distribute_attributes(). |
|
|
Maximum starting attributes.
Definition at line 138 of file constdata.h. Referenced by distribute_attributes(). |
|
|
Link to string: name of the class.
Definition at line 135 of file constdata.h. Referenced by playerclassname(). |
|
|
Spellcasting skill for each type of spell (SPELLTYPE_ARCANE, SPELLTYPE_DIVINE, SPELLTYPE_NECROMANCY).
Definition at line 141 of file constdata.h. Referenced by study_book(), and study_spell(). |
|
|
Multiplier to number of marks needed to gain a skill level.
Definition at line 144 of file constdata.h. Referenced by marks_to_advance(). |
|
|
Starting weapon skill (all weapon types).
Definition at line 146 of file constdata.h. Referenced by init_skills(). |
1.3.6