|
NWNX:EE
8193.36.12
|
|
Go to the documentation of this file.
8 const string NWNX_SkillRanks =
"NWNX_SkillRanks";
147 string sFunc =
"GetSkillFeatCountForSkill";
157 string sFunc =
"GetSkillFeatForSkillByIndex";
182 string sFunc =
"GetSkillFeat";
207 string sFunc =
"SetSkillFeat";
227 if (GetStringLength(skillFeat.sClasses) < 255)
231 for (i = 0; i < 255-GetStringLength(skillFeat.sClasses); i++) { sPad = sPad +
"0"; }
232 skillFeat.
sClasses = sPad + skillFeat.sClasses;
234 skillFeat.sClasses = GetStringLeft(skillFeat.sClasses, 254 - iClass) +
"1" + GetStringRight(skillFeat.sClasses, iClass);
240 string sFunc =
"SetSkillFeatFocusModifier";
249 string sFunc =
"GetBlindnessPenalty";
258 string sFunc =
"SetBlindnessPenalty";
266 string sFunc =
"GetAreaModifier";
277 string sFunc =
"SetAreaModifier";
const int NWNX_SKILLRANKS_KEY_ABILITY_STRENGTH
Strength.
int NWNX_GetReturnValueInt()
Returns the specified type from the c++ side.
struct NWNX_SkillRanks_SkillFeat NWNX_SkillRanks_GetSkillFeatForSkillByIndex(int iSkill, int iIndex)
Returns a skill feat by index.
int NWNX_SkillRanks_GetAreaModifier(object oArea, int iSkill)
Get a skill modifier for an area.
string sClasses
255 char bitset string for skill ranks impacted by class levels (like Bardic Knowledge).
void NWNX_SkillRanks_SetSkillFeatFocusModifier(int iModifier, int iEpic=FALSE)
Change the modifier value for Skill Focus and Epic Skill Focus feats.
int iAreaFlagsForbidden
Used for feats like Stonecunning or Trackless Step which restrict skill modifiers by area types.
const int NWNX_SKILLRANKS_KEY_ABILITY_CALC_MIN
Use the minimum value of the provided ability scores.
struct NWNX_SkillRanks_SkillFeat NWNX_SkillRanks_GetSkillFeat(int iSkill, int iFeat)
Returns a skill feat.
float NWNX_GetReturnValueFloat()
Returns the specified type from the c++ side.
int iAreaFlagsRequired
Used for feats like Stonecunning or Trackless Step which restrict skill modifiers by area types.
void NWNX_CallFunction(string pluginName, string functionName)
Scripting interface to NWNX.
const int NWNX_SKILLRANKS_KEY_ABILITY_CALC_MAX
Use the maximum value of the provided ability scores.
const int NWNX_SKILLRANKS_KEY_ABILITY_CALC_SUM
Use the sum of the provided ability scores.
string NWNX_GetReturnValueString()
Returns the specified type from the c++ side.
void NWNX_PushArgumentString(string value)
Pushes the specified type to the c++ side.
const int NWNX_SKILLRANKS_KEY_ABILITY_CALC_AVERAGE
Use the average value of the provided ability scores.
int iSkill
The skill this feat impacts.
void NWNX_PushArgumentObject(object value)
Pushes the specified type to the c++ side.
int iKeyAbilityMask
Bitmask of abilities and method to calculate the ability modifier for a skill.
int NWNX_SkillRanks_GetBlindnessPenalty()
Gets the current penalty to Dexterity based skills when blind.
void NWNX_PushArgumentInt(int value)
Pushes the specified type to the c++ side.
void NWNX_SkillRanks_SetAreaModifier(object oArea, int iSkill, int iModifier)
Sets a skill modifier for the area.
A feat that manipulates skill ranks.
int NWNX_SkillRanks_GetSkillFeatCountForSkill(int iSkill)
const int NWNX_SKILLRANKS_KEY_ABILITY_CONSTITUTION
Constitution.
int iModifier
Skill feat bonus/penalty.
const int NWNX_SKILLRANKS_KEY_ABILITY_WISDOM
Wisdom.
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.
void NWNX_SkillRanks_SetBlindnessPenalty(int iModifier)
Set the value the Dexterity based skills get decreased due to blindness.
void NWNX_SkillRanks_SetSkillFeat(struct NWNX_SkillRanks_SkillFeat skillFeat, int createIfNonExistent=FALSE)
Modifies or creates a skill feat.
const int NWNX_SKILLRANKS_KEY_ABILITY_DEXTERITY
Dexterity.
int bBypassArmorCheckPenalty
This allows for feats that bypass the armor check penalty on skill rank calculations.
const int NWNX_SKILLRANKS_KEY_ABILITY_CHARISMA
Charisma.
void NWNX_PushArgumentFloat(float value)
Pushes the specified type to the c++ side.
const int NWNX_SKILLRANKS_KEY_ABILITY_INTELLIGENCE
Intelligence.