Event:COMBATMETER DAMAGE

This event is fired every time the player or a partymember takes damage or causes damage.
This event doesn't use arg1, arg2, etc. It uses pre-defined global variables. These variables are as follows:
;_source
:The name of the source of the damage, usually the name of the player dealing it.
;_target
:The name of the target for the damage.
:Example: "Cow Beetle"
;_damage
:The amount of damage done.
:Example: 69
;_skill
:The name of the skill that was used to cause the damage. If it's just an auto-attack, this variable will have the value "ATTACK"
:Example: "Fireball"
;_type
:The type of damage done.
:Example: "NORMAL"
This event appears to fire before the UNIT_HEALTH event. Also, the function UnitHealth will return the unit's health before the damage if called during this event.
Category:Event functions