event
onDamage (client-side)
Available since version: 0.0.1
This event can be canceled
This event is triggered when hero is damaged, by not player or npc.
Parameters
DamageDescription description
DamageDescription
description: a structure containing damage information. For more information see DamageDescription