View Single Post
02-21-17, 09:28 AM   #15
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,871
Lua Code:
  1. for key, value in pairs(debuffs) do
  2.     local name, _, _, _, _, duration, expires = UnitDebuff("raid1", value)
  3.     -- do whatever here
  4. end

does an unordered loop throught the table.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote