View Single Post
Unread 09-28-11, 06:56 PM   #2
Aieny
Veiled Ripper
 
Aieny's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2011
Posts: 40
I need to update the wiki for it, but this is from the documentation:
Code:
	Event.Combat.Damage
		Event documentation:
			Signals damage done to a unit.
				Event.Combat.Damage(info)
		Parameters:
			info: Detailed information table about this event, containing several named parameters.
		Parameter members:
				ability:	The ability ID for the ability used, if available.
				abilityName:	The name of the ability used.
				caster:	The unit ID for this event's initiator, if one exists.
				crit:	Whether this was the result of a critical hit.
				damage:	The amount of damage actually done.
				damageAbsorbed:	The amount of damage absorbed.
				damageBlocked:	The amount of damage blocked.
				damageIntercepted:	The amount of damage intercepted.
				damageModified:	The amount of damage modified.
				overkill:	The amount of overkill done.
				target:	The unit ID for the target.
				type:	The damage type. Values include "life", "death", "air", "earth", "fire", "water".
__________________
Lua Code:
  1. local function signature()
  2.     print("Aieny Celenovia")
  3.     print("www.riftcrafter.com")
  4. end
Aieny is offline   Reply With Quote