Ok but i still get lua errors and a strange behaviour of my bar:
Code:
function()
local value = select(8, UnitBuff("player", "Blutschild")) or 0
return value;
end
So with this i get the expirationTime and i return it. My goal is
to have a bar which shows when the buff will expire.
With the above code i just get lua errors.
11x Interface\AddOns\WeakAuras\WeakAuras-2.0.7.lua:1864: attempt to compare number with string
|
44x Interface\AddOns\WeakAuras\RegionTypes\aurabar.lua:649: attempt to perform arithmetic on field 'expirationTime' (a nil value)
Interface\AddOns\WeakAuras\RegionTypes\aurabar.lua:649: in function <Interface\AddOns\WeakAuras\RegionTypes\aurabar.lua:647>
Interface\AddOns\WeakAuras\RegionTypes\aurabar.lua:1053: in functio
|