-
-
Save Industrial/e323c8e15c246728d298 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local f = CreateFrame('Frame') | |
f:SetScript('OnEvent', function (self, event, ...) | |
local unit = ... | |
if UnitAura(unit, 'Dazed') then | |
if unit == 'player' then | |
CancelUnitBuff('player', 'Aspect of the Pack') | |
CancelUnitBuff('player', 'Aspect of the Cheetah') | |
elseif unit:match('party.*') or unit:match('raid.*') then | |
CancelUnitBuff('player', 'Aspect of the Pack') | |
end | |
end | |
end) | |
f:RegisterEvent('UNIT_AURA') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment