View Single Post
04/21/14, 02:58 PM   #18
mikethecoder4
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 13
Originally Posted by Iyanga View Post
No, damage type is damageType
sourceType is of CombatUnitType, as is targetType.

You need to check sourceType and sourceName, because you can't prevent people naming themselves Scamp or Wolf.



You still need to filter out all action results you don't care about, too, of course. My snippet is just to verify that it is the player whose event you process.
Ahh very interesting. This helps immensely thank you! I didnt think about checking the source type.

Thanks alot, this thread has been very informative for me