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...