NWNX:EE  8193.36.12
nwnx_nostack.nss
Go to the documentation of this file.
1 #include "nwnx"
6 
7 const string NWNX_NoStack = "NWNX_NoStack";
8 
24 
28 void NWNX_NoStack_SetSpellBonusType(int spell, int type);
29 
31 
32 void NWNX_NoStack_SetSpellBonusType(int spell, int type)
33 {
34  string sFunc = "SetSpellBonusType";
35 
37  NWNX_PushArgumentInt(spell);
38 
39  NWNX_CallFunction(NWNX_NoStack, sFunc);
40 }
NWNX_NOSTACK_EFFECT_TYPE_MORALE
const int NWNX_NOSTACK_EFFECT_TYPE_MORALE
Definition: nwnx_nostack.nss:19
NWNX_NOSTACK_EFFECT_TYPE_RESISTANCE
const int NWNX_NOSTACK_EFFECT_TYPE_RESISTANCE
Definition: nwnx_nostack.nss:21
NWNX_NOSTACK_EFFECT_TYPE_COMPETENCE
const int NWNX_NOSTACK_EFFECT_TYPE_COMPETENCE
Definition: nwnx_nostack.nss:16
NWNX_NOSTACK_EFFECT_TYPE_PROFANE
const int NWNX_NOSTACK_EFFECT_TYPE_PROFANE
Definition: nwnx_nostack.nss:20
NWNX_CallFunction
void NWNX_CallFunction(string pluginName, string functionName)
Scripting interface to NWNX.
Definition: nwnx.nss:54
NWNX_PushArgumentInt
void NWNX_PushArgumentInt(int value)
Pushes the specified type to the c++ side.
Definition: nwnx.nss:59
NWNX_NOSTACK_EFFECT_TYPE_INSIGHT
const int NWNX_NOSTACK_EFFECT_TYPE_INSIGHT
Definition: nwnx_nostack.nss:17
NWNX_NOSTACK_EFFECT_TYPE_LUCK
const int NWNX_NOSTACK_EFFECT_TYPE_LUCK
Definition: nwnx_nostack.nss:18
NWNX_NOSTACK_EFFECT_TYPE_ENHANCEMENT
const int NWNX_NOSTACK_EFFECT_TYPE_ENHANCEMENT
Definition: nwnx_nostack.nss:14
NWNX_NOSTACK_EFFECT_TYPE_SACRED
const int NWNX_NOSTACK_EFFECT_TYPE_SACRED
Definition: nwnx_nostack.nss:22
NWNX_NoStack_SetSpellBonusType
void NWNX_NoStack_SetSpellBonusType(int spell, int type)
Sets a spell bonus type to be used by the NoStack feature.
Definition: nwnx_nostack.nss:32
NWNX_NOSTACK_EFFECT_TYPE_CIRCUMSTANCE
const int NWNX_NOSTACK_EFFECT_TYPE_CIRCUMSTANCE
Definition: nwnx_nostack.nss:15