• World of Warcraft Addons
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

oUF_DebuffHighlight

 

Project Updated:
Files Updated: Thu, Apr 30 2009
Supports Game Version: 3.1.0
Category: Unit Frames
Tags:

[Edit Tags]

Project Manager: Ammo
Additional Authors: No additional authors
Current Version: r44-release
License: All Rights Reserved
Development Site: WowAce.com
Avg Daily DL (last 30 days): 15
Downloads Total: 4,783
Favorites: 4
Comments: 1
  • About oUF_DebuffHighlight
  •  

This is an addon that adds Debuff Highlighting to the oUF unitframes.

Whenever a unit has a debuff it will highlight the frame in the debuff color. This can be done either on
the unitframe background or a specially created frame for the task.

To use this in your oUF layout you will need one of the following:

self.DebuffHighlightBackdrop = true

This will let oUF_DebuffHighlight know to use the backdrop for debuff highlighting. The original color and alpha
of the backdrop and backdrop border will be stored and whenever the unit needs highlighting it will color the
backdrop and backdrop border in corresponding color and set the alpha. When the debuff is gone the original
color and alpha will be restored.

The other option to add Debuff Highlighting is to provide a texture (or other UI type that supports :SetVertexcolor)
on your unit frame.

local dbh = self:CreateTexture(nil, "OVERLAY")
dbh:SetAllPoints(self)
dbh:SetTexture("SomeKindOfTexturepath")
dbh:SetBlendMode("ADD")
dbh:SetVertexColor(0,0,0,0) -- set alpha to 0 to hide the texture
self.DebuffHighlight = dbh

Be warned, your healthbar is probably the best place to create a full glow texture:

local dbh = hp:CreateTexture(nil, "OVERLAY") 


Because all your unit UI elements will be covering your unitframe (self) most likely.

This frame will now be used with :SetVertexColor() to highlight debuffs.

You can control the alpha of the debuff highlight on backdrop or debuffhighlight frame by setting:

self.DebuffHighlightAlpha = .5

The default value is .5 for the highlight frame and 1 for the backdrop.

If you only want to highlight debuffs that you can cure:

self.DebuffHighlightFilter = true

This is off by default.

If you want to use the actual texture of the debuff to show instead of coloring the frame do the following:

Create the self.DebuffHighlight texture and positionit, make sure it's visible (alpha not set to 0):

local dbh = hp:CreateTexture(nil, "OVERLAY")
dbh:SetWidth(32)
dbh:SetHeight(32)
dbh:SetPoint("CENTER", self, "CENTER")
self.DebuffHighlight = dbh

And set:

self.DebuffHighlightUseTexture = true

Enjoy

-Ammo

  • Downloads (5)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  oUF_DebuffHighlight r44-release Release 3.1.0 3,664 4/30/2009
  oUF_DebuffHighlight r41-release Release 3.0.3 608 1/4/2009
  oUF_DebuffHighlight r38-release Release 3.0.3 106 12/31/2008
  oUF_DebuffHighlight r36-release Release 3.0.3 103 12/23/2008
  oUF_DebuffHighlight-r79326 Beta 2.4.3 236 7/28/2008
  • 1 page(s)
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Flyhard said 

    Could you please tell us, what debuffs are highlighted by this addon?

    Reply Report Permalink
  • 1 page(s)
  • Similar Addons
  •  

Average downloads per day

  1. 19,744 HealBot Continued Buffs & Debuffs, Class, and...
  2. 9,635 X-Perl UnitFrames Raid Frames, and Unit Frames
  3. 2,241 Grid Unit Frames
  4. 1,705 VuhDo Buffs & Debuffs, Druid, Healer...
  5. 1,164 PitBull Unit Frames 4.0 Unit Frames