From 02d9e7d19f4958ac41e7163f96ef4336d1a3bbd9 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Sat, 21 Nov 2020 12:14:30 +0100 Subject: [PATCH] Update ByeByeBuffs: Add Phase 6 Argent Dawn trinkets. --- ByeByeBuffs/ByeByeBuffs.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ByeByeBuffs/ByeByeBuffs.lua b/ByeByeBuffs/ByeByeBuffs.lua index c703d0e..3efbb2d 100644 --- a/ByeByeBuffs/ByeByeBuffs.lua +++ b/ByeByeBuffs/ByeByeBuffs.lua @@ -37,6 +37,8 @@ local blacklistedAuras = { "Healing Way", "Ancestral Fortitude", "Headmaster's Charge", + "Seal of the Dawn", + "Champion of the Dawn", } local cancelBlacklistedAurasMacro = "/cancelaura " .. table.concat(blacklistedAuras, "\n/cancelaura ") @@ -48,9 +50,10 @@ local frame = CreateFrame("FRAME") frame:RegisterEvent("PLAYER_REGEN_ENABLED") frame:RegisterEvent("PLAYER_ENTERING_WORLD") frame:SetScript("OnEvent", function(self, event, ...) - local isWorldBuffed = IsInRaid() and UnitAura("player", 18, "HELPFUL") -- simply checks for more than 18 buffs + local isWorldBuffed = IsInRaid() and UnitAura("player", 17, "HELPFUL") -- simply checks for more than 17 buffs if isWorldBuffed then return button:SetAttribute("macrotext", cancelBlacklistedAurasMacro) end return button:SetAttribute("macrotext", "/stopmacro") end) +