So.. i was wondering if anyone here is good at coding and could help me with somthing. As some may know if they have a monk. There is a weakaura time for renewing mists and how many have it / who has the shortest time left. Anyway, i was wondering if anyone would help me make one for a resto druid, EG i want it to show how many stacks and how long left on it and the target its on. this is the code snip from the monk ReMists WA.


Code:
function()
    if not WA_ReMists or not WA_ReMists.shortest then return "ReM" end
    local endTime = WA_ReMists.shortest - GetTime()
    endTime = ("%.1f"):format(endTime)
    return WA_ReMists.count.."\n\n"..endTime
end