View Single Post
07/01/18, 11:37 PM   #6
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 409
Originally Posted by SilverWF View Post
Pretty obvious question: why not filter effects inside your function, rather than try to break your brain?


Pretty obvious answer: Because it's better.


Using the filters on the Event Manger is better for performance, since the game does the filtering in the C code rather than Lua. For stuff with abilities which can fire a lot, this means you have less lag in places where it matters the most: Combat.
  Reply With Quote