Originally Posted by boomboo
Code:
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.