Iceflame
07-12-2006, 08:02 AM
Disclaimer: Something like this may have been posted before, if so, forgive my double post on the subject.
For quite some time I've had my target frame debuff Icons customized from the stock layout (I never liked the gap that would be present between the bottom border of the target unitframe and the debuff icon itself). So, I modified the debuff icons to show as follows:
(imagine this is the target frame)
[target frame]1.3.5.7.9.11.13.15
[------------]2.4.6.8.10.12.14.16
The numbers 1-16 (minus the "." of course) denote the order in which debuff icons would be displayed on any given target. They appear in that order and fall off in the reverse order.
Here is the replacement code if you would like to try this:
debuff1 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "TOPRIGHT", "$parent", "TOPRIGHT", 15, -2} } },
debuff2 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff1", "BOTTOMLEFT", 0, -9 } } },
debuff3 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff1", "RIGHT", 0, 0 } } },
debuff4 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff3", "BOTTOMLEFT", 0, -9 } } },
debuff5 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff3", "RIGHT", 0, 0 } } },
debuff6 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff5", "BOTTOMLEFT", 0, -9 } } },
debuff7 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff5", "RIGHT", 0, 0 } } },
debuff8 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff7", "BOTTOMLEFT", 0, -9 } } },
debuff9 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff7", "RIGHT", 0, 0 } } },
debuff10 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff9", "BOTTOMLEFT", 0, -9 } } },
debuff11 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff9", "RIGHT", 0, 0 } } },
debuff12 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff11", "BOTTOMLEFT", 0, -9 } } },
debuff13 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff11", "RIGHT", 0, 0 } } },
debuff14 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff13", "BOTTOMLEFT", 0, -9 } } },
debuff15 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff13", "RIGHT", 0, 0 } } },
debuff16 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff15", "BOTTOMLEFT", 0, -9 } } },
This code replaces "debuff1-16" in the "target" section of the layout.lua file.
Now, I've also got my "Target of Target" and "Target of target's Target" turned off. So if you have your "ToT" and "ToTT" displaying to the right of the target unit frame, this may interfere with that. In otherwords, try this at your own risk... lol.
Hope this info proves to be useful to some ppl.
I'll be raiding tonite so I can get some good screenshots of this in action, so I can post a screenshot of this if it would prove more useful.
Ice
For quite some time I've had my target frame debuff Icons customized from the stock layout (I never liked the gap that would be present between the bottom border of the target unitframe and the debuff icon itself). So, I modified the debuff icons to show as follows:
(imagine this is the target frame)
[target frame]1.3.5.7.9.11.13.15
[------------]2.4.6.8.10.12.14.16
The numbers 1-16 (minus the "." of course) denote the order in which debuff icons would be displayed on any given target. They appear in that order and fall off in the reverse order.
Here is the replacement code if you would like to try this:
debuff1 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "TOPRIGHT", "$parent", "TOPRIGHT", 15, -2} } },
debuff2 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff1", "BOTTOMLEFT", 0, -9 } } },
debuff3 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff1", "RIGHT", 0, 0 } } },
debuff4 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff3", "BOTTOMLEFT", 0, -9 } } },
debuff5 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff3", "RIGHT", 0, 0 } } },
debuff6 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff5", "BOTTOMLEFT", 0, -9 } } },
debuff7 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff5", "RIGHT", 0, 0 } } },
debuff8 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff7", "BOTTOMLEFT", 0, -9 } } },
debuff9 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff7", "RIGHT", 0, 0 } } },
debuff10 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff9", "BOTTOMLEFT", 0, -9 } } },
debuff11 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff9", "RIGHT", 0, 0 } } },
debuff12 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff11", "BOTTOMLEFT", 0, -9 } } },
debuff13 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff11", "RIGHT", 0, 0 } } },
debuff14 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff13", "BOTTOMLEFT", 0, -9 } } },
debuff15 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff13", "RIGHT", 0, 0 } } },
debuff16 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff15", "BOTTOMLEFT", 0, -9 } } },
This code replaces "debuff1-16" in the "target" section of the layout.lua file.
Now, I've also got my "Target of Target" and "Target of target's Target" turned off. So if you have your "ToT" and "ToTT" displaying to the right of the target unit frame, this may interfere with that. In otherwords, try this at your own risk... lol.
Hope this info proves to be useful to some ppl.
I'll be raiding tonite so I can get some good screenshots of this in action, so I can post a screenshot of this if it would prove more useful.
Ice