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,21 +1,21 @@
--INSPECT_READY CHAT_MSG_SYSTEM
function(e, msg)
if e == "INSPECT_READY" then
if GetTime() - aura_env.time >= 1 then
local name = UnitName("target")
SendChatMessage(".ilevel " .. name, "SAY")
aura_env.time = GetTime()
end
elseif e == "CHAT_MSG_SYSTEM" then
aura_env.ilvl = msg:match("Equipped ilvl for .+: (%d+)")
return true
end
end
--DISPLAY
function()
return format("%d", aura_env.ilvl)
end
--INIT
--INSPECT_READY CHAT_MSG_SYSTEM
function(e, msg)
if e == "INSPECT_READY" then
if GetTime() - aura_env.time >= 1 then
local name = UnitName("target")
SendChatMessage(".ilevel " .. name, "SAY")
aura_env.time = GetTime()
end
elseif e == "CHAT_MSG_SYSTEM" then
aura_env.ilvl = msg:match("Equipped ilvl for .+: (%d+)")
return true
end
end
--DISPLAY
function()
return format("%d", aura_env.ilvl)
end
--INIT
aura_env.time = 0