View Single Post
05-12-17, 01:20 AM   #23
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Do it the other way around, cycle through all target debuffs that are applied by you and match their IDs against UAs' IDs o_O

IIRC, unit can have up to 40(?) debuffs, might be wrong here...

-- edit #1

I should get some coffee...

To track a specific UA debuff, I guess I should pass an index of an aura as an argument rather than a name, but looping through all debuffs sounds inefficient to me.
Do exactly that Just use `break`s to stop the for-loop if you need...
__________________

Last edited by lightspark : 05-12-17 at 01:25 AM.
  Reply With Quote