diff --git a/Dechickenator.lua b/Dechickenator.lua index 925c133..585dc84 100644 --- a/Dechickenator.lua +++ b/Dechickenator.lua @@ -6,6 +6,16 @@ local addonname, shared = ... local function init() 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 local loadedFrame = CreateFrame("Frame")