Originally Posted by
sixteenmiles
Could you explain this in a little more detail please?
I tried doing what I thought I had to do which was a custom trigger on a Progress Bar and amended Constie's code to look more like this:
Code:
function()
return UnitBuff('player', 'Mana Tea'), 20, true
end
That returns the "Mana Tea", 20, true, since the first return value of UnitBuff is the name and not the count. You want to use something like this:
Code:
function()
return select(4, UnitAura("player", "Mana Tea")) or 0, 20, true
end
in the custom duration trigger. And in the custom trigger:
Code:
function()
return UnitAura("player", "Mana Tea")
end
and a custom untrigger of:
Code:
function()
return true
end
Originally Posted by
sixteenmiles
This then broke my WeakAuras and I lost them all. I had to reinstall from scratch and start over (lot of hours lost). I'm now back where I am and have learned a lesson about backing up, but kind of stuck on where to go next because I have no idea about lua so this is like gibberish to me.
If you figure out (this time with a backup), a exact sequence of steps that lost you all of your auras, I'd be very interested.