Hey guys!
Im using a tag for oUF that looks like this
Code:
spells["Sacred Shield"] = GetSpellInfo(148039)
Code:
oUF.Tags.Methods['SS'] = function(u)
local name, _,_,_,_,_, expirationTime, fromwho = UnitAura(u, spells["Sacred Shield"])
if(fromwho == "player") then
local spellTimer = (expirationTime-GetTime())
local TimeLeft = numberize(spellTimer)
if spellTimer > 0 then
return "|cffFFAB00"..TimeLeft.."|r"
end
end
end
oUF.Tags.Events['SS'] = "UNIT_AURA"
Can anyone help me understand or edit this so i can track the 30sec duration buff from sacred shield(looked through the ID's and pretty sure im using the right one). now i only get the 5 sec actual shield showing.
thanks!