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) +