|
NWNX:EE
8193.36.12
|
|
Go to the documentation of this file.
54 int iFeatRows = Get2DARowCount(
"feat");
56 for (iFeat = 0; iFeat < iFeatRows; iFeat++)
58 string sFeatModTable = Get2DAString(
"feat", sColumnName, iFeat);
59 if(sFeatModTable !=
"")
61 int iFeatModRows = Get2DARowCount(sFeatModTable);
63 for (iFeatMod = 0; iFeatMod < iFeatModRows; iFeatMod++)
65 string sType = Get2DAString(sFeatModTable,
"Type", iFeatMod);
66 string sParam1 = Get2DAString(sFeatModTable,
"Param1", iFeatMod);
67 string sParam2 = Get2DAString(sFeatModTable,
"Param2", iFeatMod);
68 string sParam3 = Get2DAString(sFeatModTable,
"Param3", iFeatMod);
69 string sParam4 = Get2DAString(sFeatModTable,
"Param4", iFeatMod);
70 int iParam1 = sParam1 ==
"" ? 0xDEADBEEF : StringToInt(sParam1);
71 int iParam2 = sParam2 ==
"" ? 0xDEADBEEF : StringToInt(sParam2);
72 int iParam3 = sParam3 ==
"" ? 0xDEADBEEF : StringToInt(sParam3);
73 int iParam4 = sParam4 ==
"" ? 0xDEADBEEF : StringToInt(sParam4);
const int NWNX_FEAT_MODIFIER_SPELLSAVEDCFORSPELL
const int NWNX_FEAT_MODIFIER_SEEINVISIBLE
const int NWNX_FEAT_MODIFIER_SAVEVSTYPE
const int NWNX_FEAT_MODIFIER_DMGREDUCTION
const int NWNX_FEAT_MODIFIER_SAVEVSRACE
const int NWNX_FEAT_MODIFIER_SPELLIMMUNITY
void NWNX_Feat_LoadFeatModifiers(string sColumnName="FeatModsTable")
Loops through feat.2da and checks for the column for feat modifications and sets them.
const int NWNX_FEAT_MODIFIER_HASTE
const int NWNX_FEAT_MODIFIER_CONCEALMENT
const int NWNX_FEAT_MODIFIER_AC
const int NWNX_FEAT_MODIFIER_SPELLSAVEDCFORSCHOOL
const int NWNX_FEAT_MODIFIER_IMMUNITY
const int NWNX_FEAT_MODIFIER_SRCHARGEN
const int NWNX_FEAT_MODIFIER_DMGIMMUNITY
const int NWNX_FEAT_MODIFIER_ARCANESPELLFAILURE
const int NWNX_FEAT_MODIFIER_ULTRAVISION
const int NWNX_FEAT_MODIFIER_REGENERATION
const int NWNX_FEAT_MODIFIER_SAVE
const int NWNX_FEAT_MODIFIER_MOVEMENTSPEED
const int NWNX_FEAT_MODIFIER_DMGRESIST
const int NWNX_FEAT_MODIFIER_VISUALEFFECT
const int NWNX_FEAT_MODIFIER_INVALID
const int NWNX_FEAT_MODIFIER_SAVEVSTYPERACE
const int NWNX_FEAT_MODIFIER_SPELLSAVEDC
const int NWNX_FEAT_MODIFIER_BONUSSPELL
const int NWNX_FEAT_MODIFIER_TRUESEEING
int NWNX_Feat_GetModifierConstant(string featMod)
Translate a modifier type from a string to its constant.
const int NWNX_FEAT_MODIFIER_ABVSRACE
void NWNX_Feat_SetFeatModifier(int iFeat, int iMod, int iParam1=0xDEADBEEF, int iParam2=0xDEADBEEF, int iParam3=0xDEADBEEF, int iParam4=0xDEADBEEF)
Sets a feat modifier.
const int NWNX_FEAT_MODIFIER_AB
const int NWNX_FEAT_MODIFIER_ABILITY
const int NWNX_FEAT_MODIFIER_ACVSRACE
const int NWNX_FEAT_MODIFIER_SRINCLEVEL