Thread Tools Display Modes
01-21-10, 06:02 PM   #1
zebiscas
A Kobold Labourer
Join Date: Jan 2010
Posts: 1
help on ouf_alza

hello im using this ui so some time now i just do some modifications and now i need make one and i cant do it.

what i need to change so i can se on my target of target only defuff because it helps a lot im tanking,

tks a lot
  Reply With Quote
03-19-10, 07:03 AM   #2
Linoge-Fly
A Murloc Raider
 
Linoge-Fly's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 5
Hi zebiscas,
as I understand you want to have debuffs under targettarget frame, it's thin frame on center of the screen, rigth? Debuffs shows under focus frame that is located on the left part of the screen. I usually focus the second tank and always see debuffs on him.
Anyway, if you want to have the same behavior on your targettarget frame you can modify style.lua file in oUF_ALZA folder.

Find this block of code in style.lua:
Code:
    if(settings.Auras.SpawnFocusDebuffs and unit=="focus") then
        local debuffs = CreateFrame("Frame", nill, self)
        debuffs:SetPoint("TOPLEFT", self, "BOTTOMLEFT", -2, -3)
        debuffs.initialAnchor = "TOPLEFT"
        debuffs["growth-x"] = "RIGHT"
        debuffs["growth-y"] = "DOWN"
        debuffs:SetHeight(20)
        debuffs:SetWidth(104)
        debuffs.spacing = 1
        debuffs.size = 20
        debuffs.num = 5
        self.Debuffs = debuffs
    end
Add add this block under it:
Code:
    if (unit=="targettarget") then
        local debuffs = CreateFrame("Frame", nill, self)
        debuffs:SetPoint("TOPLEFT", self, "BOTTOMLEFT", -2, -3)
        debuffs.initialAnchor = "TOPLEFT"
        debuffs["growth-x"] = "RIGHT"
        debuffs["growth-y"] = "DOWN"
        debuffs:SetHeight(20)
        debuffs:SetWidth(104)
        debuffs.spacing = 1
        debuffs.size = 20
        debuffs.num = 5
        self.Debuffs = debuffs	
    end
It should help, I don't have Wow at the current computer so I can't test it, but it should help you
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » help on ouf_alza


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off