Lua API
On this page
Combat_HandleAttackerNotificationEvent_S2C
Inherits from
HandleAttackerNotificationEvent: You have hit your target with a melee attack.
Fields:
Conditions AttackConditionsMask
additional information about the attack, such as whether it was a Sneak Attack, etc
Critical boolean
critical hit: 0=no, 1=yes
DamageDone number
the amount of damage done
DamagePercent number
percentage of targets hp removed by damage. 0.0 (low) to 1.0 (high)
DamageType DamageType
the type of damage done
Name string
the name of your target
Methods:
GetPropertyKeys() : string[]
Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts
Returns:string[]
ToString() : string
Returns a string that represents the current object.
Returns:string