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