From d2203317a2055be6975eb7c4ebdf41f6d1026f62 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Fri, 20 Dec 2024 22:30:40 +0100 Subject: [PATCH] Print buffs pls --- Dechickenator.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) 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")