Update cleusaver to use ,
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
local function varargToString(...)
|
||||
local output = {}
|
||||
for i = 1, select("#", ...) do
|
||||
output[#output + 1] = string.format("%d = %s", i, tostring(select(i, ...)))
|
||||
output[#output + 1] = tostring(select(i, ...))
|
||||
end
|
||||
return table.concat(output, "; ")
|
||||
return table.concat(output, ",")
|
||||
end
|
||||
|
||||
if not WeakAurasSaved then WeakAurasSaved = {} end
|
||||
if not WeakAurasSaved.Cyka then WeakAurasSaved.Cyka = {} end
|
||||
if not WeakAurasSaved.Cyka.CombatLog then WeakAurasSaved.Cyka.CombatLog = {} end
|
||||
--/run WeakAurasSaved.Cyka.CombatLog = {}
|
||||
---@param spellName string
|
||||
---@param spellId number
|
||||
---@param subevent string
|
||||
@@ -17,4 +16,5 @@ if not WeakAurasSaved.Cyka.CombatLog then WeakAurasSaved.Cyka.CombatLog = {} end
|
||||
aura_env.LogSpell = function(subevent, ...)
|
||||
table.insert(WeakAurasSaved.Cyka.CombatLog, varargToString(subevent, ...))
|
||||
end
|
||||
/dump WeakAurasSaved.Cyka.CombatLog
|
||||
-- /dump WeakAurasSaved.Cyka.CombatLog
|
||||
-- /run WeakAurasSaved.Cyka.CombatLog = {}
|
||||
|
||||
Reference in New Issue
Block a user