cls_stat_ is the prefix used by the default StatGainTable classes.2da column. It determines some otherwise hardcoded stat changes on class levelups (by default for Dragon Disciples and Pale Masters).
Setup and Layout
This file needs to be created from scratch. Easiest way to do this is to copy one of the existing ones; cls_stat_dradis.2da for Dragon Disciple or cls_stat_palema.2da for Pale Master.
Negative Values Note
The columns do allow negative values which show up properly in most locations. Some may not show up properly. For instance we have made -2 Dexterity per level on this Dragon Disciple, plus -1 AC on each level as well.
The char select for the module does show Dexterity properly but not AC (it's increased, to 19). However in game it gets calculated correctly on the character sheet:
2da Columns
Column Label | Example | Valid Values | Description and Notes |
---|---|---|---|
Level | 1 | Integer 1 through 40 | Level the bonus is applied. Put all 40 rows in even if the class is level limited for safety. |
Str Dex Con Wis Int Cha | 2 | Positive integer for increase Negative integer for decrease **** for no change | The change of statistic to apply for the 6 base statistics. This does properly affect levelup feat selection availability for that level (not tested if negatives taking you past requirements for past feats gained removes them - likely not!) Negatives are just with a minus symbol in front: -2 instead of 2 for instance. |
NautralAC | 1 | Positive integer for increased AC Negative integer for decreased AC **** for no change | Natural AC change to apply, note the above bug with it sometimes not showing up properly. |
Example 2da Contents
cls_stat_dragdis.2da contents:
2DA V2.0 Level Str Dex Con Wis Int Cha NaturalAC 0 1 **** **** **** **** **** **** 1 1 2 2 **** **** **** **** **** **** 2 3 **** **** **** **** **** **** **** 3 4 2 **** **** **** **** **** **** 4 5 **** **** **** **** **** **** 1 5 6 **** **** **** **** **** **** **** 6 7 **** **** 2 **** **** **** **** 7 8 **** **** **** **** **** **** 1 8 9 **** **** **** **** 2 **** **** 9 10 4 **** **** **** **** 2 1 10 11 **** **** **** **** **** **** **** 11 12 **** **** **** **** **** **** **** 12 13 **** **** **** **** **** **** **** 13 14 **** **** **** **** **** **** **** 14 15 **** **** **** **** **** **** 1 15 16 **** **** **** **** **** **** **** 16 17 **** **** **** **** **** **** **** 17 18 **** **** **** **** **** **** **** 18 19 **** **** **** **** **** **** **** 19 20 **** **** **** **** **** **** 1 20 21 **** **** **** **** **** **** **** 21 22 **** **** **** **** **** **** **** 22 23 **** **** **** **** **** **** **** 23 24 **** **** **** **** **** **** **** 24 25 **** **** **** **** **** **** 1 25 26 **** **** **** **** **** **** **** 26 27 **** **** **** **** **** **** **** 27 28 **** **** **** **** **** **** **** 28 29 **** **** **** **** **** **** **** 29 30 **** **** **** **** **** **** 1 30 31 **** **** **** **** **** **** **** 31 32 **** **** **** **** **** **** **** 32 33 **** **** **** **** **** **** **** 33 34 **** **** **** **** **** **** **** 34 35 **** **** **** **** **** **** 1 35 36 **** **** **** **** **** **** **** 36 37 **** **** **** **** **** **** **** 37 38 **** **** **** **** **** **** **** 38 39 **** **** **** **** **** **** **** 39 40 **** **** **** **** **** **** 1