View Single Post
02/07/17, 04:08 AM   #3
ArtOfShred
 
ArtOfShred's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 103
Originally Posted by sirinsidiator View Post
Nice writeup, just a little bit behind the times. Instead of filtering all combat events in Lua, you should always try to filter them with the built in event filters first, as they offer way better better performance for this task. Afterwards you can filter the remaining events in Lua without much impact
Oh thanks for the info, didn't even know about the filters. My knowledge is pretty limited, I just wanted to post this out here to get the idea going. I imagine I could probably do the same thing just using REGISTER_FILTER_UNIT_TAG and checking to make sure its not nil then. REGISTER_FILTER_ABILITY_ID could be linked to a table of abilityID's to ignore for this too then eh?

I'll have to look into it a bit more, I definitely need to optimize some of the custom functions I've put into LUI's event display.

Thanks!

Last edited by ArtOfShred : 02/07/17 at 04:18 AM.
  Reply With Quote