Quantcast
Download
(305 Kb)
Download
Updated: 11-14-19 04:45 AM
Pictures
File Info
Updated:11-14-19 04:45 AM
Created:07-25-18 02:55 AM
Downloads:966
Favorites:0
MD5:

oUF Alekk (Fan Update)

Version: 1.2 Beta
by: runamonk [More]

Updated for a couple people who requested it. I am not the original author and I do not actively use this layout. I will not be adding feature requests or anything like that. I just made a few changes to get it to work for those that rely on it.

This is a layout for oUF.

11142019, added right click on auras to cancel. *can only be used out of combat*
07262018, fixed issue with Aura timer. UnitAura() had an extra variable spacer that was throwing off the timeLeft counter.
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Author
Date
1.1 Beta
307kB
runamonk
07-26-18 01:08 AM
1.0 Beta
306kB
runamonk
07-25-18 03:15 AM
8.0.1
306kB
runamonk
07-25-18 02:55 AM


Post A Reply Comment Options
Unread 11-11-19, 02:43 PM  
runamonk
A Wyrmkin Dreamwalker
 
runamonk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 56
File comments: 40
Uploads: 2
Just edit the ouf_alekk.lua

Then just add this line. Btw this will only work while you're not in combat.

Lua Code:
  1. local PostCreateIcon = function(self, button, icons, index, debuff)
  2.     button.backdrop = CreateFrame("Frame", nil, button)
  3. --THE LINE BELOW HERE:
  4. button:SetScript('OnClick', function(self, button) CancelUnitBuff('player', self:GetName():match('%d')) end)
  5. --TO HERE
  6.  
  7.     button.backdrop:SetPoint("TOPLEFT", button, "TOPLEFT", -3.5, 3)
  8.     button.backdrop:SetPoint("BOTTOMRIGHT", button, "BOTTOMRIGHT", 4, -3.5)
  9.     button.backdrop:SetFrameStrata("BACKGROUND")
  10.     button.backdrop:SetBackdrop {
  11.         edgeFile = glowTex, edgeSize = 5,
  12.         insets = {left = 3, right = 3, top = 3, bottom = 3}
  13.     }
  14.     button.backdrop:SetBackdropColor(0, 0, 0, 0)
  15.     button.backdrop:SetBackdropBorderColor(0, 0, 0)
  16.    
  17.     button.count:ClearAllPoints()
  18.     button.count:SetPoint("BOTTOMRIGHT", 3,-3)
  19.     button.count:SetJustifyH("RIGHT")
  20.     button.count:SetTextColor(0.8, 0.8, 0.8)   
  21.    
  22.     if self.unit == "player" then
  23.         button.count:SetFont(fontn, 17, "OUTLINE")
  24.     else
  25.         button.count:SetFont(fontn, 14, "OUTLINE")
  26.     end
  27.  
  28.     button.cd.noOCC = true
  29.     button.cd.noCooldownCount = true
  30.     self.disableCooldown = true
  31.  
  32.     button.overlay:SetTexture(textureborder)
  33.     button.overlay:SetPoint("TOPLEFT", button, "TOPLEFT", -1, 1)
  34.     button.overlay:SetPoint("BOTTOMRIGHT", button, "BOTTOMRIGHT", 1, -1)
  35.     button.overlay:SetTexCoord(0, 1, 0, 1)
  36.     button.icon:SetTexCoord(.07, .93, .07, .93)
  37.     button.overlay.Hide = function(self) end
  38.     button.remaining = button:CreateFontString(nil, 'OVERLAY')
  39.     button.remaining:SetPoint('CENTER', button)
  40.     button.remaining:SetJustifyH('CENTER')
  41.     button.remaining:SetFont(fontn, 14, 'OUTLINE') 
  42.  
  43.     if self.unit == "player" then
  44.         button.remaining:SetFont(fontn, 17, "OUTLINE")
  45.     end
  46.    
  47.     if icons == self.Enchant then
  48.         button.remaining:SetFont(fontn, 15, "OUTLINE")
  49.         button.overlay:SetVertexColor(136/255, 57/255, 184/255)
  50.     end
  51. end
Last edited by runamonk : 11-11-19 at 02:44 PM.
Report comment to moderator  
Reply With Quote
Unread 09-22-19, 09:13 PM  
san1ty
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
is there any chance that this will be updated? i can't remove buffs from myself by right-clicking.
tried to get it work, but no success.
Report comment to moderator  
Reply With Quote
Unread 07-28-18, 02:18 PM  
runamonk
A Wyrmkin Dreamwalker
 
runamonk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 56
File comments: 40
Uploads: 2
LOL you're welcome. Glad I could help haha.
Report comment to moderator  
Reply With Quote
Unread 07-27-18, 02:50 PM  
Sosbek
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 5
File comments: 4
Uploads: 3
I dig you man!
Shout out for updating this awesome oUF layout, been using parts of AlekkUI for decades, and this one is surely sweet. Thanks bro!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: