Update ByeByeBuffs: 17->22 auras.
This commit is contained in:
parent
4dff3cda79
commit
d03d4772ea
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ local frame = CreateFrame("FRAME")
|
||||||
frame:RegisterEvent("PLAYER_REGEN_ENABLED")
|
frame:RegisterEvent("PLAYER_REGEN_ENABLED")
|
||||||
frame:RegisterEvent("PLAYER_ENTERING_WORLD")
|
frame:RegisterEvent("PLAYER_ENTERING_WORLD")
|
||||||
frame:SetScript("OnEvent", function(self, event, ...)
|
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
|
if isWorldBuffed then
|
||||||
return button:SetAttribute("macrotext", cancelBlacklistedAurasMacro)
|
return button:SetAttribute("macrotext", cancelBlacklistedAurasMacro)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue