NWNX:EE  8193.36.12
NWNX_Damage_AttackEventData Struct Reference

Attack Event Data. More...

Public Attributes

object oTarget
 The target who took the damage. More...
 
int iBludgeoning
 Bludgeoning damage. More...
 
int iPierce
 Piercing damage. More...
 
int iSlash
 Slashing damage. More...
 
int iMagical
 Magical damage. More...
 
int iAcid
 Acid damage. More...
 
int iCold
 Cold damage. More...
 
int iDivine
 Divine damage. More...
 
int iElectrical
 Electrical damage. More...
 
int iFire
 Fire damage. More...
 
int iNegative
 Negative damage. More...
 
int iPositive
 Positive damage. More...
 
int iSonic
 Sonic damage. More...
 
int iBase
 Base damage. More...
 
int iCustom1
 Custom1 damage. More...
 
int iCustom2
 Custom2 damage. More...
 
int iCustom3
 Custom3 damage. More...
 
int iCustom4
 Custom4 damage. More...
 
int iCustom5
 Custom5 damage. More...
 
int iCustom6
 Custom6 damage. More...
 
int iCustom7
 Custom7 damage. More...
 
int iCustom8
 Custom8 damage. More...
 
int iCustom9
 Custom9 damage. More...
 
int iCustom10
 Custom10 damage. More...
 
int iCustom11
 Custom11 damage. More...
 
int iCustom12
 Custom12 damage. More...
 
int iCustom13
 Custom13 damage. More...
 
int iCustom14
 Custom14 damage. More...
 
int iCustom15
 Custom15 damage. More...
 
int iCustom16
 Custom16 damage. More...
 
int iCustom17
 Custom17 damage. More...
 
int iCustom18
 Custom18 damage. More...
 
int iCustom19
 Custom19 damage. More...
 
int iAttackNumber
 1-based index of the attack in current combat round More...
 
int iAttackResult
 1=hit, 2=parried, 3=critical hit, 4=miss, 5=resisted, 7=automatic hit, 8=concealed, 9=miss chance, 10=devastating crit More...
 
int iWeaponAttackType
 1=main hand, 2=offhand, 3-5=creature, 6=extra(haste), 7=unarmed, 8=unarmed extra More...
 
int iSneakAttack
 0=neither, 1=sneak attack, 2=death attack, 3=both More...
 
int iAttackType
 65002=Attack of Opportunity, 65003=Riposte or a FeatID like KnockDown or some other special attack. More...
 
int bKillingBlow
 TRUE if the hit is a killing blow. More...
 
int iToHitRoll
 The to hit roll of the attack. More...
 
int iToHitModifier
 The to hit modifier of the attack. More...
 

Detailed Description

Attack Event Data.

Definition at line 51 of file nwnx_damage.nss.

Member Data Documentation

◆ oTarget

object NWNX_Damage_AttackEventData::oTarget

The target who took the damage.

Definition at line 53 of file nwnx_damage.nss.

◆ iBludgeoning

int NWNX_Damage_AttackEventData::iBludgeoning

Bludgeoning damage.

Definition at line 54 of file nwnx_damage.nss.

◆ iPierce

int NWNX_Damage_AttackEventData::iPierce

Piercing damage.

Definition at line 55 of file nwnx_damage.nss.

◆ iSlash

int NWNX_Damage_AttackEventData::iSlash

Slashing damage.

Definition at line 56 of file nwnx_damage.nss.

◆ iMagical

int NWNX_Damage_AttackEventData::iMagical

Magical damage.

Definition at line 57 of file nwnx_damage.nss.

◆ iAcid

int NWNX_Damage_AttackEventData::iAcid

Acid damage.

Definition at line 58 of file nwnx_damage.nss.

◆ iCold

int NWNX_Damage_AttackEventData::iCold

Cold damage.

Definition at line 59 of file nwnx_damage.nss.

◆ iDivine

int NWNX_Damage_AttackEventData::iDivine

Divine damage.

Definition at line 60 of file nwnx_damage.nss.

◆ iElectrical

int NWNX_Damage_AttackEventData::iElectrical

Electrical damage.

Definition at line 61 of file nwnx_damage.nss.

◆ iFire

int NWNX_Damage_AttackEventData::iFire

Fire damage.

Definition at line 62 of file nwnx_damage.nss.

◆ iNegative

int NWNX_Damage_AttackEventData::iNegative

Negative damage.

Definition at line 63 of file nwnx_damage.nss.

◆ iPositive

int NWNX_Damage_AttackEventData::iPositive

Positive damage.

Definition at line 64 of file nwnx_damage.nss.

◆ iSonic

int NWNX_Damage_AttackEventData::iSonic

Sonic damage.

Definition at line 65 of file nwnx_damage.nss.

◆ iBase

int NWNX_Damage_AttackEventData::iBase

Base damage.

Definition at line 66 of file nwnx_damage.nss.

◆ iCustom1

int NWNX_Damage_AttackEventData::iCustom1

Custom1 damage.

Definition at line 67 of file nwnx_damage.nss.

◆ iCustom2

int NWNX_Damage_AttackEventData::iCustom2

Custom2 damage.

Definition at line 68 of file nwnx_damage.nss.

◆ iCustom3

int NWNX_Damage_AttackEventData::iCustom3

Custom3 damage.

Definition at line 69 of file nwnx_damage.nss.

◆ iCustom4

int NWNX_Damage_AttackEventData::iCustom4

Custom4 damage.

Definition at line 70 of file nwnx_damage.nss.

◆ iCustom5

int NWNX_Damage_AttackEventData::iCustom5

Custom5 damage.

Definition at line 71 of file nwnx_damage.nss.

◆ iCustom6

int NWNX_Damage_AttackEventData::iCustom6

Custom6 damage.

Definition at line 72 of file nwnx_damage.nss.

◆ iCustom7

int NWNX_Damage_AttackEventData::iCustom7

Custom7 damage.

Definition at line 73 of file nwnx_damage.nss.

◆ iCustom8

int NWNX_Damage_AttackEventData::iCustom8

Custom8 damage.

Definition at line 74 of file nwnx_damage.nss.

◆ iCustom9

int NWNX_Damage_AttackEventData::iCustom9

Custom9 damage.

Definition at line 75 of file nwnx_damage.nss.

◆ iCustom10

int NWNX_Damage_AttackEventData::iCustom10

Custom10 damage.

Definition at line 76 of file nwnx_damage.nss.

◆ iCustom11

int NWNX_Damage_AttackEventData::iCustom11

Custom11 damage.

Definition at line 77 of file nwnx_damage.nss.

◆ iCustom12

int NWNX_Damage_AttackEventData::iCustom12

Custom12 damage.

Definition at line 78 of file nwnx_damage.nss.

◆ iCustom13

int NWNX_Damage_AttackEventData::iCustom13

Custom13 damage.

Definition at line 79 of file nwnx_damage.nss.

◆ iCustom14

int NWNX_Damage_AttackEventData::iCustom14

Custom14 damage.

Definition at line 80 of file nwnx_damage.nss.

◆ iCustom15

int NWNX_Damage_AttackEventData::iCustom15

Custom15 damage.

Definition at line 81 of file nwnx_damage.nss.

◆ iCustom16

int NWNX_Damage_AttackEventData::iCustom16

Custom16 damage.

Definition at line 82 of file nwnx_damage.nss.

◆ iCustom17

int NWNX_Damage_AttackEventData::iCustom17

Custom17 damage.

Definition at line 83 of file nwnx_damage.nss.

◆ iCustom18

int NWNX_Damage_AttackEventData::iCustom18

Custom18 damage.

Definition at line 84 of file nwnx_damage.nss.

◆ iCustom19

int NWNX_Damage_AttackEventData::iCustom19

Custom19 damage.

Definition at line 85 of file nwnx_damage.nss.

◆ iAttackNumber

int NWNX_Damage_AttackEventData::iAttackNumber

1-based index of the attack in current combat round

Definition at line 86 of file nwnx_damage.nss.

◆ iAttackResult

int NWNX_Damage_AttackEventData::iAttackResult

1=hit, 2=parried, 3=critical hit, 4=miss, 5=resisted, 7=automatic hit, 8=concealed, 9=miss chance, 10=devastating crit

Definition at line 87 of file nwnx_damage.nss.

◆ iWeaponAttackType

int NWNX_Damage_AttackEventData::iWeaponAttackType

1=main hand, 2=offhand, 3-5=creature, 6=extra(haste), 7=unarmed, 8=unarmed extra

Definition at line 88 of file nwnx_damage.nss.

◆ iSneakAttack

int NWNX_Damage_AttackEventData::iSneakAttack

0=neither, 1=sneak attack, 2=death attack, 3=both

Definition at line 89 of file nwnx_damage.nss.

◆ iAttackType

int NWNX_Damage_AttackEventData::iAttackType

65002=Attack of Opportunity, 65003=Riposte or a FeatID like KnockDown or some other special attack.

Definition at line 90 of file nwnx_damage.nss.

◆ bKillingBlow

int NWNX_Damage_AttackEventData::bKillingBlow

TRUE if the hit is a killing blow.

Definition at line 91 of file nwnx_damage.nss.

◆ iToHitRoll

int NWNX_Damage_AttackEventData::iToHitRoll

The to hit roll of the attack.

Definition at line 92 of file nwnx_damage.nss.

◆ iToHitModifier

int NWNX_Damage_AttackEventData::iToHitModifier

The to hit modifier of the attack.

Definition at line 93 of file nwnx_damage.nss.


The documentation for this struct was generated from the following file: