NWNX:EE  8193.36.12
nwnx_feat.nss
Go to the documentation of this file.
1 #include "nwnx"
6 
7 const string NWNX_Feat = "NWNX_Feat";
8 
14 const int NWNX_FEAT_MODIFIER_AB = 1;
17 const int NWNX_FEAT_MODIFIER_AC = 4;
27 const int NWNX_FEAT_MODIFIER_SAVE = 14;
39 const int NWNX_FEAT_MODIFIER_HASTE = 26;
45 
50 void NWNX_Feat_SetFeatModifier(int iFeat, int iMod, int iParam1 = 0xDEADBEEF, int iParam2 = 0xDEADBEEF, int iParam3 = 0xDEADBEEF, int iParam4 = 0xDEADBEEF);
51 
53 
54 void NWNX_Feat_SetFeatModifier(int iFeat, int iMod, int iParam1 = 0xDEADBEEF, int iParam2 = 0xDEADBEEF, int iParam3 = 0xDEADBEEF, int iParam4 = 0xDEADBEEF)
55 {
56  string sFunc = "SetFeatModifier";
57 
58  NWNX_PushArgumentInt(iParam4);
59  NWNX_PushArgumentInt(iParam3);
60  NWNX_PushArgumentInt(iParam2);
61  NWNX_PushArgumentInt(iParam1);
63  NWNX_PushArgumentInt(iFeat);
64 
65  NWNX_CallFunction(NWNX_Feat, sFunc);
66 }
NWNX_FEAT_MODIFIER_SPELLSAVEDCFORSPELL
const int NWNX_FEAT_MODIFIER_SPELLSAVEDCFORSPELL
Definition: nwnx_feat.nss:42
NWNX_FEAT_MODIFIER_SEEINVISIBLE
const int NWNX_FEAT_MODIFIER_SEEINVISIBLE
Definition: nwnx_feat.nss:37
NWNX_FEAT_MODIFIER_SAVEVSTYPE
const int NWNX_FEAT_MODIFIER_SAVEVSTYPE
Definition: nwnx_feat.nss:29
NWNX_FEAT_MODIFIER_DMGREDUCTION
const int NWNX_FEAT_MODIFIER_DMGREDUCTION
Definition: nwnx_feat.nss:22
NWNX_FEAT_MODIFIER_SAVEVSRACE
const int NWNX_FEAT_MODIFIER_SAVEVSRACE
Definition: nwnx_feat.nss:28
NWNX_FEAT_MODIFIER_SPELLIMMUNITY
const int NWNX_FEAT_MODIFIER_SPELLIMMUNITY
Definition: nwnx_feat.nss:31
NWNX_FEAT_MODIFIER_HASTE
const int NWNX_FEAT_MODIFIER_HASTE
Definition: nwnx_feat.nss:39
NWNX_FEAT_MODIFIER_CONCEALMENT
const int NWNX_FEAT_MODIFIER_CONCEALMENT
Definition: nwnx_feat.nss:20
NWNX_FEAT_MODIFIER_AC
const int NWNX_FEAT_MODIFIER_AC
Definition: nwnx_feat.nss:17
NWNX_FEAT_MODIFIER_SPELLSAVEDCFORSCHOOL
const int NWNX_FEAT_MODIFIER_SPELLSAVEDCFORSCHOOL
Definition: nwnx_feat.nss:41
NWNX_FEAT_MODIFIER_IMMUNITY
const int NWNX_FEAT_MODIFIER_IMMUNITY
Definition: nwnx_feat.nss:24
NWNX_FEAT_MODIFIER_SRCHARGEN
const int NWNX_FEAT_MODIFIER_SRCHARGEN
Definition: nwnx_feat.nss:32
NWNX_FEAT_MODIFIER_DMGIMMUNITY
const int NWNX_FEAT_MODIFIER_DMGIMMUNITY
Definition: nwnx_feat.nss:21
NWNX_CallFunction
void NWNX_CallFunction(string pluginName, string functionName)
Scripting interface to NWNX.
Definition: nwnx.nss:54
NWNX_FEAT_MODIFIER_ARCANESPELLFAILURE
const int NWNX_FEAT_MODIFIER_ARCANESPELLFAILURE
Definition: nwnx_feat.nss:19
NWNX_FEAT_MODIFIER_ULTRAVISION
const int NWNX_FEAT_MODIFIER_ULTRAVISION
Definition: nwnx_feat.nss:38
NWNX_FEAT_MODIFIER_REGENERATION
const int NWNX_FEAT_MODIFIER_REGENERATION
Definition: nwnx_feat.nss:26
NWNX_FEAT_MODIFIER_DAMAGE
const int NWNX_FEAT_MODIFIER_DAMAGE
Definition: nwnx_feat.nss:43
NWNX_FEAT_MODIFIER_SAVE
const int NWNX_FEAT_MODIFIER_SAVE
Definition: nwnx_feat.nss:27
NWNX_FEAT_MODIFIER_MOVEMENTSPEED
const int NWNX_FEAT_MODIFIER_MOVEMENTSPEED
Definition: nwnx_feat.nss:25
NWNX_FEAT_MODIFIER_DMGRESIST
const int NWNX_FEAT_MODIFIER_DMGRESIST
Definition: nwnx_feat.nss:23
NWNX_PushArgumentInt
void NWNX_PushArgumentInt(int value)
Pushes the specified type to the c++ side.
Definition: nwnx.nss:59
NWNX_FEAT_MODIFIER_VISUALEFFECT
const int NWNX_FEAT_MODIFIER_VISUALEFFECT
Definition: nwnx_feat.nss:40
NWNX_FEAT_MODIFIER_INVALID
const int NWNX_FEAT_MODIFIER_INVALID
Definition: nwnx_feat.nss:13
NWNX_FEAT_MODIFIER_SAVEVSTYPERACE
const int NWNX_FEAT_MODIFIER_SAVEVSTYPERACE
Definition: nwnx_feat.nss:30
NWNX_FEAT_MODIFIER_SPELLSAVEDC
const int NWNX_FEAT_MODIFIER_SPELLSAVEDC
Definition: nwnx_feat.nss:34
NWNX_FEAT_MODIFIER_BONUSSPELL
const int NWNX_FEAT_MODIFIER_BONUSSPELL
Definition: nwnx_feat.nss:35
NWNX_FEAT_MODIFIER_TRUESEEING
const int NWNX_FEAT_MODIFIER_TRUESEEING
Definition: nwnx_feat.nss:36
NWNX_FEAT_MODIFIER_ABVSRACE
const int NWNX_FEAT_MODIFIER_ABVSRACE
Definition: nwnx_feat.nss:16
NWNX_Feat_SetFeatModifier
void NWNX_Feat_SetFeatModifier(int iFeat, int iMod, int iParam1=0xDEADBEEF, int iParam2=0xDEADBEEF, int iParam3=0xDEADBEEF, int iParam4=0xDEADBEEF)
Sets a feat modifier.
Definition: nwnx_feat.nss:54
NWNX_FEAT_MODIFIER_AB
const int NWNX_FEAT_MODIFIER_AB
Definition: nwnx_feat.nss:14
NWNX_FEAT_MODIFIER_ABILITY
const int NWNX_FEAT_MODIFIER_ABILITY
Definition: nwnx_feat.nss:15
NWNX_FEAT_MODIFIER_ACVSRACE
const int NWNX_FEAT_MODIFIER_ACVSRACE
Definition: nwnx_feat.nss:18
NWNX_FEAT_MODIFIER_SRINCLEVEL
const int NWNX_FEAT_MODIFIER_SRINCLEVEL
Definition: nwnx_feat.nss:33