This commit is contained in:
2024-08-24 22:41:08 +02:00
parent 77f1ac5d7a
commit c21f59778f
431 changed files with 68581 additions and 68581 deletions

View File

@@ -1,20 +1,20 @@
DISPLAY
function()
if aura_env.startTime ~= nil and aura_env.buffTime ~= nil then
local localTime = GetTime() - aura_env.startTime
local buff = UnitBuff("player", "Ilterendi, Crown Jewel of Silvermoon")
if buff ~= nil then
aura_env.buffTime = aura_env.buffTime + (GetTime() - aura_env.lastTime)
end
aura_env.lastTime = GetTime()
aura_env.uptime = (math.floor((aura_env.buffTime / localTime) * 100))
return aura_env.uptime .. "%%"
end
end
ON SHOW
aura_env.startTime = GetTime()
aura_env.buffTime = 0
ON HIDE
print("20% god uptime", aura_env.uptime .. "%")
DISPLAY
function()
if aura_env.startTime ~= nil and aura_env.buffTime ~= nil then
local localTime = GetTime() - aura_env.startTime
local buff = UnitBuff("player", "Ilterendi, Crown Jewel of Silvermoon")
if buff ~= nil then
aura_env.buffTime = aura_env.buffTime + (GetTime() - aura_env.lastTime)
end
aura_env.lastTime = GetTime()
aura_env.uptime = (math.floor((aura_env.buffTime / localTime) * 100))
return aura_env.uptime .. "%%"
end
end
ON SHOW
aura_env.startTime = GetTime()
aura_env.buffTime = 0
ON HIDE
print("20% god uptime", aura_env.uptime .. "%")