This commit is contained in:
2024-08-24 22:45:34 +02:00
parent d163cf93eb
commit 9749f5a6eb
20 changed files with 484 additions and 484 deletions

View File

@@ -1,28 +1,28 @@
-- COMBAT_LOG_EVENT_UNFILTERED
function(allstates, e, ...)
local iconDisplayDuration = 0.5
local se = select(2, ...)
if (se ~= "SPELL_AURA_APPLIED") then return end
local target = select(9, ...)
if (target ~= UnitName("player")) then return end
local auraType = select(15, ...)
if (auraType ~= "DEBUFF") then return end
local spellId = select(12, ...)
print(select(3, GetSpellInfo(spellId)))
allstates[spellId] = {
show = true,
changed = true,
index = GetTime(),
resort = true,
icon = select(3, GetSpellInfo(spellId)),
name = select(13, ...),
progressType = "timed",
expirationTime = GetTime() + iconDisplayDuration,
duration = iconDisplayDuration,
autoHide = true,
}
return true
-- COMBAT_LOG_EVENT_UNFILTERED
function(allstates, e, ...)
local iconDisplayDuration = 0.5
local se = select(2, ...)
if (se ~= "SPELL_AURA_APPLIED") then return end
local target = select(9, ...)
if (target ~= UnitName("player")) then return end
local auraType = select(15, ...)
if (auraType ~= "DEBUFF") then return end
local spellId = select(12, ...)
print(select(3, GetSpellInfo(spellId)))
allstates[spellId] = {
show = true,
changed = true,
index = GetTime(),
resort = true,
icon = select(3, GetSpellInfo(spellId)),
name = select(13, ...),
progressType = "timed",
expirationTime = GetTime() + iconDisplayDuration,
duration = iconDisplayDuration,
autoHide = true,
}
return true
end