Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ico = WeakAuras.regions[aura_env.id].region.icon
- -- ico:SetTexture( GetSpellTexture(aura_env.id) )
- aura_env.xOff = 0 -- + to right, - to left
- aura_env.yOff = 9 -- + goes up, - goes down
- aura_env.pointOnStacks = "TOP"
- aura_env.pointOnIcon = "TOP"
- -- point options are "CENTER", "BOTTOM", "TOP", "LEFT", "RIGHT", "BOTTOMLEFT", "BOTTOMRIGHT", "TOPLEFT", "TOPRIGHT".
- -- ignore below here.
- aura_env.reanchor = function()
- local stacks = WeakAuras.regions[aura_env.id].region.stacks
- local icon = WeakAuras.regions[aura_env.id].region.icon
- stacks:ClearAllPoints()
- stacks:SetPoint(aura_env.pointOnStacks, icon, aura_env.pointOnIcon, aura_env.xOff, aura_env.yOff)
- end
- aura_env.reanchor()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement