event onDamage (client-side)
This event can be canceled
This event is triggered when hero is damaged, by not player or npc.
int damage, int flags
intdamage: a value representing the amount of health the player lost.
intflags: an flags representing the types of damage. For more information see damage flags