class DamageDescription (shared-side)
Available since version: 0.2.1
This class represents damage information.
Properties
int flags
Represents the damage flags.
int damage
Represents the total damage taken.
string item_instance (read-only)
Available since version: 0.3.0
Note
Can be empty if there is no weapon.
Represents the weapon instance used to deal damage.
int distance
Represents the total distance, calculated from origin point to target.
int spell_id
Available since version: 0.3.0
Represents the spell id.
int spell_level
Available since version: 0.3.0
Represents the level of chargeable spells.
string node
Available since version: 0.3.0
Note
Can be empty if there was no projectile.
Represents the name of the node hit by a point projectile.
VisualFX& vfx_hit
Available since version: 0.3.2
Note
Available only on client-side!
Represents the visual effect, or null.
Methods
No methods.
Callbacks
No callbacks.