diff --git a/FreshShit/CLEUSaver/init.lua b/FreshShit/CLEUSaver/init.lua index 623b307..40e2045 100644 --- a/FreshShit/CLEUSaver/init.lua +++ b/FreshShit/CLEUSaver/init.lua @@ -1,20 +1,20 @@ local function varargToString(...) - local output = {} - for i = 1, select("#", ...) do - output[#output + 1] = string.format("%d = %s", i, tostring(select(i, ...))) - end - return table.concat(output, "; ") + local output = {} + for i = 1, select("#", ...) do + output[#output + 1] = tostring(select(i, ...)) + end + 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 ---@param ... any aura_env.LogSpell = function(subevent, ...) - table.insert(WeakAurasSaved.Cyka.CombatLog, varargToString(subevent, ...)) + table.insert(WeakAurasSaved.Cyka.CombatLog, varargToString(subevent, ...)) end -/dump WeakAurasSaved.Cyka.CombatLog \ No newline at end of file +-- /dump WeakAurasSaved.Cyka.CombatLog +-- /run WeakAurasSaved.Cyka.CombatLog = {}