From fc60b42b01fcea1422f71eba0fc4719d2eb39813 Mon Sep 17 00:00:00 2001 From: jmgibson1981 <69975336+jmgibson1981@users.noreply.github.com> Date: Mon, 6 Jan 2025 02:31:28 -0700 Subject: [PATCH] turtle-wow: add totemic recall spell logic to libtotem --- modules/turtle-wow.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/turtle-wow.lua b/modules/turtle-wow.lua index 83d8f3df..aa77631f 100644 --- a/modules/turtle-wow.lua +++ b/modules/turtle-wow.lua @@ -2,6 +2,17 @@ if not TargetHPText or not TargetHPPercText then return end pfUI:RegisterModule("turtle-wow", "vanilla", function () + -- turtle wow totemic recall clear totem indicators + local trecall = CreateFrame("Frame", "pfTotemsRecall", UIParent) + trecall:RegisterEvent("CHAT_MSG_SPELL_SELF_BUFF") + trecall:SetScript("OnEvent", function() + if arg1 and string.find(arg1, T["You gain (.+) Mana from Totemic Recall"]) then + for i = 1, 4 do + libtotem:Clean(i) + end + end + end) + local delay = CreateFrame("Frame") delay:SetScript("OnUpdate", function() this:Hide()