View Single Post
08-04-14, 01:12 PM   #14
Lybrial
A Flamescale Wyrmkin
AddOn Compiler - Click to view compilations
Join Date: Jan 2010
Posts: 120
Originally Posted by semlar View Post
Presumably it should be something like this, but as far as I can tell there isn't any documentation for WeakAuras.
Lua Code:
  1. function()
  2.      local _, _, _, _, _, duration, expirationTime = UnitBuff("player", "Blutschild")
  3.      return duration or 0, expirationTime or 0
  4. end
You are my hero this evening. Its exactly that!
The only thing wrong is that if the buff is not up it shows
the bar fully filled instead of empty.

But for now this is great. I dont need more today
  Reply With Quote