Cls pres *.2da

The   files are the .2da files that define the prerequisites for prestige classes. These files are used only when referred to by the "PreReqTable" column of.

Most of the files of this type that are provided in the standard game are named for the prestige class to which they are associated. Specifically, the standard files of this type are
 * (for champions of Torm),
 * (unused; abandoned implementation of weapon master),
 * , and
 * (for champions of Torm),
 * (unused; abandoned implementation of weapon master),
 * , and
 * (unused; abandoned implementation of weapon master),
 * , and
 * , and
 * , and
 * , and
 * , and

Column notes
The possible prerequisite types are ARCSPELL, BAB, CLASSOR, FEAT, FEATOR, RACE, SKILL, SPELL, and VAR. The meaning of the parameters for each of these types are as follows.
 * ARCSPELL: ReqParam1 is the required class level of an arcane spellcasting class (bard, sorcerer, or wizard).
 * BAB: ReqParam1 is the required base attack bonus.
 * CLASSOR: ReqParam1 is the row number of a required class in . Meeting any of the CLASSOR prerequisites counts as meeting them all.
 * FEAT: ReqParam1 is the row number of a required feat in.
 * FEATOR: ReqParam1 is the row number of a required feat in . Meeting any of the FEATOR prerequisites counts as meeting them all.
 * RACE: ReqParam1 is the row number of a permitted racial type in . Meeting any of the RACE prerequisites counts as meeting them all.
 * SKILL: ReqParam1 is the row number of a required skill in, and ReqParam2 is the required number of ranks in that skill.
 * SPELL: ReqParam1 is the required class level of a spellcasting class.
 * VAR: ReqParam1 is the name of a local variable that will be checked, and ReqParam2 is the integer value this variable must have.

Local variables
BioWare has provided local variable prerequisites for all prestige classes, with a required value of 0. This means that if nothing is done, the variable will have no value, hence default to 0, meeting the prerequisite. This allows builders to set this variable to a different value to block advancement in a prestige class for whatever reason (e.g. needing to complete a specific quest first). As zero is a false value and non-zero values are considered truth, the names chosen by BioWare for these variables (using "Allow" instead of "Block") appear backwards. Nonetheless, the scripting command SetLocalInt(oPC, "X2_AllowShiftr", TRUE); will prevent  from gaining (more) shifter levels. The names of these local variables are as follows. There is additionally "X2_AllowKensei" defined in an unused file that is left over from when "weapon master" was going to be called "kensai".