Update ByeByeBuffs: 17->22 auras.

This commit is contained in:
Casper V. Kristensen 2020-12-14 21:13:44 +01:00
parent 4dff3cda79
commit d03d4772ea
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -50,7 +50,7 @@ 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", 17, "HELPFUL") -- simply checks for more than 17 buffs
local isWorldBuffed = IsInRaid() and UnitAura("player", 22, "HELPFUL") -- simply checks for more than 22 buffs
if isWorldBuffed then
return button:SetAttribute("macrotext", cancelBlacklistedAurasMacro)
end