Reply
Thread Tools Display Modes
Unread 09-28-11, 06:37 PM   #1
Gibbous
Claw of Regulos
 
Gibbous's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2011
Posts: 10
Target stats and True damage

Event.Combat.Damage.damage shows the amount of damage dealt after different forms of damage mitigation (such as armor). I was wondering perhaps if damage before mitigation could be exposed as well?

Also, the Inspector.Unit.Detail could use some stat readouts (armor, strength, endurance, etc...) if that wasn't planned already, would it be feasible?
Gibbous is offline   Reply With Quote
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
Unread 09-28-11, 07:13 PM   #3
Gibbous
Claw of Regulos
 
Gibbous's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2011
Posts: 10
Awesome. Guess I didn't look far enough.
Gibbous is offline   Reply With Quote
Reply

Go BackRiftui » Developer Discussions » Wish List » Target stats and True damage

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off