Print buffs pls

This commit is contained in:
2024-12-20 22:30:40 +01:00
parent dd27ba2450
commit d2203317a2

View File

@@ -6,6 +6,16 @@ local addonname, shared = ...
local function init() local function init()
print("Dechickenator loaded!") print("Dechickenator loaded!")
local cleuFrame = CreateFrame("Frame")
cleuFrame:RegisterEvent("CLEU")
cleuFrame:SetScript("OnEvent", function(self, event, ...)
local subevent = CLEUParser.GetSubevent(...)
if subevent == "SPELL_AURA_APPLIED" then
local spellName = CLEUParser.GetSpellName(...)
print(spellName)
end
end)
end end
local loadedFrame = CreateFrame("Frame") local loadedFrame = CreateFrame("Frame")