|
NWNX:EE
8193.36.12
|
|
Go to the documentation of this file.
7 const string NWNX_Damage =
"NWNX_Damage";
177 string sFunc =
"SetEventScript";
188 string sFunc =
"GetDamageEventData";
233 string sFunc =
"SetDamageEventData";
273 string sFunc =
"SetEventScript";
284 string sFunc =
"GetAttackEventData";
336 string sFunc =
"SetAttackEventData";
378 string sFunc =
"DealDamage";
int iCustom1
Custom1 damage.
int iCustom19
Custom19 damage.
int iCustom10
Custom10 damage.
int iCustom5
Custom5 damage.
int iAttackNumber
1-based index of the attack in current combat round
int iCustom12
Custom12 damage.
int NWNX_GetReturnValueInt()
Returns the specified type from the c++ side.
int iCustom2
Custom2 damage.
int iToHitRoll
The to hit roll of the attack.
int iCustom6
Custom6 damage.
int iCustom3
Custom3 damage.
int iPositive
Positive damage.
int iCustom18
Custom18 damage.
int iSneakAttack
0=neither, 1=sneak attack, 2=death attack, 3=both
int iNegative
Negative damage.
int iSlash
Slashing damage.
int iBludgeoning
Bludgeoning damage.
int iCustom15
Custom15 damage.
int iDivine
Divine damage.
int iCustom11
Custom11 damage.
int iCustom19
Custom19 damage.
int iCustom16
Custom16 damage.
object oTarget
The target who took the damage.
void NWNX_Damage_SetDamageEventData(struct NWNX_Damage_DamageEventData data)
Set Damage Event Data.
int iCustom12
Custom12 damage.
int iCustom9
Custom9 damage.
int iCustom8
Custom8 damage.
int iCustom11
Custom11 damage.
void NWNX_Damage_DealDamage(struct NWNX_Damage_DamageData data, object oTarget, object oSource=OBJECT_SELF, int iRanged=FALSE)
Deal damage to a target.
int iCustom16
Custom16 damage.
int iCustom9
Custom9 damage.
int iElectrical
Electrical damage.
int iCustom6
Custom6 damage.
int iCustom4
Custom4 damage.
int bKillingBlow
TRUE if the hit is a killing blow.
int iCustom18
Custom18 damage.
void NWNX_CallFunction(string pluginName, string functionName)
Scripting interface to NWNX.
int iCustom11
Custom11 damage.
void NWNX_Damage_SetAttackEventData(struct NWNX_Damage_AttackEventData data)
Set Attack Event Data.
int iBludgeoning
Bludgeoning damage.
int iWeaponAttackType
1=main hand, 2=offhand, 3-5=creature, 6=extra(haste), 7=unarmed, 8=unarmed extra
int iCustom9
Custom9 damage.
struct NWNX_Damage_DamageEventData NWNX_Damage_GetDamageEventData()
Get Damage Event Data.
int iToHitModifier
The to hit modifier of the attack.
int iCustom13
Custom13 damage.
int iNegative
Negative damage.
int iPositive
Positive damage.
int iDivine
Divine damage.
void NWNX_PushArgumentString(string value)
Pushes the specified type to the c++ side.
int iCustom10
Custom10 damage.
int iSlash
Slashing damage.
int iCustom13
Custom13 damage.
int iCustom17
Custom17 damage.
int iCustom12
Custom12 damage.
int iPierce
Piercing damage.
int iCustom7
Custom7 damage.
void NWNX_PushArgumentObject(object value)
Pushes the specified type to the c++ side.
int iBludgeoning
Bludgeoning damage.
int iSpellId
The spell id associated with the damage or -1 if not known.
void NWNX_PushArgumentInt(int value)
Pushes the specified type to the c++ side.
int iCustom6
Custom6 damage.
int iPierce
Piercing damage.
int iCustom4
Custom4 damage.
void NWNX_Damage_SetAttackEventScript(string sScript, object oOwner=OBJECT_INVALID)
Sets the script to run with an attack event.
int iCustom3
Custom3 damage.
int iCustom1
Custom1 damage.
int iCustom14
Custom14 damage.
int iCustom18
Custom18 damage.
int iCustom10
Custom10 damage.
int iCustom16
Custom16 damage.
object oDamager
The object that inflicted the damage.
int iCustom2
Custom2 damage.
int iCustom14
Custom14 damage.
int iMagical
Magical damage.
int iMagical
Magical damage.
void NWNX_Damage_SetDamageEventScript(string sScript, object oOwner=OBJECT_INVALID)
Sets the script to run with a damage event.
int iCustom15
Custom15 damage.
int iMagical
Magical damage.
int iDivine
Divine damage.
int iCustom8
Custom8 damage.
int iElectrical
Electrical damage.
struct NWNX_Damage_AttackEventData NWNX_Damage_GetAttackEventData()
Get Attack Event Data.
object NWNX_GetReturnValueObject()
Returns the specified type from the c++ side.
int iAttackType
65002=Attack of Opportunity, 65003=Riposte or a FeatID like KnockDown or some other special attack.
int iSlash
Slashing damage.
int iCustom17
Custom17 damage.
int iCustom1
Custom1 damage.
int iCustom14
Custom14 damage.
int iCustom5
Custom5 damage.
int iPower
For overcoming DR.
int iCustom13
Custom13 damage.
int iCustom17
Custom17 damage.
int iCustom15
Custom15 damage.
int iCustom7
Custom7 damage.
int iCustom19
Custom19 damage.
int iCustom8
Custom8 damage.
int iCustom2
Custom2 damage.
int iAttackResult
1=hit, 2=parried, 3=critical hit, 4=miss, 5=resisted, 7=automatic hit, 8=concealed,...
int iCustom3
Custom3 damage.
int iNegative
Negative damage.
int iCustom4
Custom4 damage.
int iCustom7
Custom7 damage.
int iPierce
Piercing damage.
int iElectrical
Electrical damage.
int iCustom5
Custom5 damage.
int iPositive
Positive damage.