NWNX:EE  8193.36.12
nwnx_skillranks.nss File Reference
#include "nwnx"

Go to the source code of this file.

Classes

struct  NWNX_SkillRanks_SkillFeat
 A feat that manipulates skill ranks. More...
 

Functions

int NWNX_SkillRanks_GetSkillFeatCountForSkill (int iSkill)
 
struct NWNX_SkillRanks_SkillFeat NWNX_SkillRanks_GetSkillFeat (int iSkill, int iFeat)
 Returns a skill feat. More...
 
struct NWNX_SkillRanks_SkillFeat NWNX_SkillRanks_GetSkillFeatForSkillByIndex (int iSkill, int iIndex)
 Returns a skill feat by index. More...
 
void NWNX_SkillRanks_SetSkillFeat (struct NWNX_SkillRanks_SkillFeat skillFeat, int createIfNonExistent=FALSE)
 Modifies or creates a skill feat. More...
 
struct NWNX_SkillRanks_SkillFeat NWNX_SkillRanks_AddSkillFeatClass (struct NWNX_SkillRanks_SkillFeat skillFeat, int iClass)
 Add classes to a skill feat instead of working with the NWNX_SkillRanks_SkillFeat::sClasses string. More...
 
void NWNX_SkillRanks_SetSkillFeatFocusModifier (int iModifier, int iEpic=FALSE)
 Change the modifier value for Skill Focus and Epic Skill Focus feats. More...
 
int NWNX_SkillRanks_GetBlindnessPenalty ()
 Gets the current penalty to Dexterity based skills when blind. More...
 
void NWNX_SkillRanks_SetBlindnessPenalty (int iModifier)
 Set the value the Dexterity based skills get decreased due to blindness. More...
 
int NWNX_SkillRanks_GetAreaModifier (object oArea, int iSkill)
 Get a skill modifier for an area. More...
 
void NWNX_SkillRanks_SetAreaModifier (object oArea, int iSkill, int iModifier)
 Sets a skill modifier for the area. More...
 

Variables

SkillRanks Key Abilities

The abilities as bits

const int NWNX_SKILLRANKS_KEY_ABILITY_STRENGTH = 1
 Strength. More...
 
const int NWNX_SKILLRANKS_KEY_ABILITY_DEXTERITY = 2
 Dexterity. More...
 
const int NWNX_SKILLRANKS_KEY_ABILITY_CONSTITUTION = 4
 Constitution. More...
 
const int NWNX_SKILLRANKS_KEY_ABILITY_INTELLIGENCE = 8
 Intelligence. More...
 
const int NWNX_SKILLRANKS_KEY_ABILITY_WISDOM = 16
 Wisdom. More...
 
const int NWNX_SKILLRANKS_KEY_ABILITY_CHARISMA = 32
 Charisma. More...
 
SkillRanks Key Ability Calculation Method

Constants used to calculate the ability modifier for a skill.

Warning
Use only one of these calculations in your mask! If you use more than one the first will be used.
const int NWNX_SKILLRANKS_KEY_ABILITY_CALC_MIN = 64
 Use the minimum value of the provided ability scores. More...
 
const int NWNX_SKILLRANKS_KEY_ABILITY_CALC_MAX = 128
 Use the maximum value of the provided ability scores. More...
 
const int NWNX_SKILLRANKS_KEY_ABILITY_CALC_AVERAGE = 256
 Use the average value of the provided ability scores. More...
 
const int NWNX_SKILLRANKS_KEY_ABILITY_CALC_SUM = 512
 Use the sum of the provided ability scores. More...