fi_pc
PC functions
-
int GetIsPCOnly(object oObject);
- Parameters:
oObject – Object that might be a PC
- Returns:
TRUE or FALSE
Return TRUE if and only if oObject is only a PC.
-
int GetXPForLevel(int nLevel);
- Parameters:
nLevel – Level from 1 to 40
- Returns:
2da value from exptable.2da
Get XP required to be of the parameter level
-
int GetECLevelByPosition(int nClassPosition, object oPC);
- Parameters:
nClassPosition – Which class to lookup in classes.2da
oPC – The PC
- Returns:
0 if no class.
Calculate ECL Effective Character Level
-
int GetPlayerECLevel(object oPC);
- Parameters:
oPC – The PC
- Returns:
0 if error
Return an Effective Character Level, same as GetHitDice but for ECL
-
void CancelLevelUp(object oPC);
- Parameters:
oPC – The PC
Cancel a level up/