Code format

This commit is contained in:
2025-05-15 20:37:50 +02:00
parent 9e6432d0b0
commit 69d1f9fd93
105 changed files with 24069 additions and 28084 deletions

View File

@@ -1,10 +1,10 @@
local function varargToString(...)
local output = {}
for i = 1, select("#", ...) do
local value = select(i, ...)
output[#output + 1] = "\"" .. tostring(value) .. "\""
end
return table.concat(output, ",")
local output = {}
for i = 1, select("#", ...) do
local value = select(i, ...)
output[#output + 1] = '"' .. tostring(value) .. '"'
end
return table.concat(output, ",")
end
if not WeakAurasSaved then WeakAurasSaved = {} end
@@ -16,7 +16,7 @@ if not WeakAurasSaved.Cyka.CombatLog then WeakAurasSaved.Cyka.CombatLog = {} end
---@param ... any
aura_env.LogSpell = function(subevent, ...)
print(varargToString(subevent, ...))
table.insert(WeakAurasSaved.Cyka.CombatLog, varargToString(subevent, ...))
table.insert(WeakAurasSaved.Cyka.CombatLog, varargToString(subevent, ...))
end
-- /dump WeakAurasSaved.Cyka.CombatLog
-- /run WeakAurasSaved.Cyka.CombatLog = {}