Quantcast WoWInterface - View Single Post - Wraper functions for 8.0.1 spell/aura changes
View Single Post
04-30-18, 07:43 PM   #10
Non-Canadian Luzer!
VincentSDSH's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 350
Originally Posted by boomboo View Post
local list_of_spells_I_care_about_lookup_table
for 1, N {
  name, ... = UnitAura(, i, )
  if(list_of_spells_I_care_about_lookup_table[name]) do_whatever()
This is what I've used and I'm quite happy with the result, for multi-checks. It's a bit much overhead for single checks, though. I haven't decided if I prefer an overloaded version or just a different call.
AddonsExecutive Assistant User Configurable To-Do ListLegible Mail Choose the Font for Your Mail
  Reply With Quote