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,18 +1,18 @@
function()
local spells = {"Deceptive Strike", "Very Sinister Strike", "Raven Strike", "Coup de Grace", "Lantern of Darkness", "Power Attack", "Holy Radiance", "Thunderous Bolt"}
local output = ""
for i = 1, 40 do
local name = UnitCastingInfo("nameplate" .. i)
if name ~= nil then
for j = 1, table.getn(spells) do
if name == spells[j] then
local _, _, _, _, starTime, endTime = UnitCastingInfo("nameplate" .. i)
local castRemaining = endTime / 1000 - GetTime()
castRemaining = math.floor(castRemaining * 100) / 100
output = output .. name .. " " .. castRemaining .. "\n"
end
end
end
end
return output
end
function()
local spells = {"Deceptive Strike", "Very Sinister Strike", "Raven Strike", "Coup de Grace", "Lantern of Darkness", "Power Attack", "Holy Radiance", "Thunderous Bolt"}
local output = ""
for i = 1, 40 do
local name = UnitCastingInfo("nameplate" .. i)
if name ~= nil then
for j = 1, table.getn(spells) do
if name == spells[j] then
local _, _, _, _, starTime, endTime = UnitCastingInfo("nameplate" .. i)
local castRemaining = endTime / 1000 - GetTime()
castRemaining = math.floor(castRemaining * 100) / 100
output = output .. name .. " " .. castRemaining .. "\n"
end
end
end
end
return output
end