Untitled
unknown
plain_text
3 years ago
755 B
6
Indexable
hooksecurefunc("TargetFrame_UpdateAuras", function(self) local isenemy = UnitIsPlayer(self.unit) and (not (UnitIsFriend("player", self.unit))) for i = 1, MAX_TARGET_BUFFS do local spellId = select(10, UnitBuff(self.unit, i, nil)) if (UnitIsFriend("player", self.unit)) then return end if not spellId then break end local frame = self.Buff[i] if isenemy then if not frame.VremonInit then frame.VremonInit = true frame.Stealable:SetSize(20.5, 20.5) frame.Stealable:SetTexCoord(0.09,0.94,0.09,0.94) end if spelllist[spellId] then frame.Stealable:Show() end end end end)
Editor is loading...