Get an Epic Experience with Premium


Unit Frames Login to Add Favorites
  • World of Warcraft
  • 2,101 Monthly Downloads
  • Supports: 6.0.2
  • 82,575 Total Downloads
  • Updated 10/14/2014
  • Created 10/20/2010
  • 160 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: Public Domain
  • Newest File: 1.4.13

About UnitFramesImproved


This addon aims to improve upon the standard blizzard unitframes without going beyond the boundaries set by them. Due to this, the addons memory usage is very small as all the hard work to get the unitframes to work is already done by Blizzard, I just improve upon them.

Main Featues

The Blizzard UnitFrames are extended with the following:

  • Taller healthbar
  • Proper class coloring of the healthbar accoring to player class
  • Better output of text on the statusbars
    • Formats "12.4k/45.3k" or "12.4k (20%)" depending on option
  • Fully integrated with rune-bar, shard-bar etc from the standard interface
  • Scalable Player/Target/TargetOfTarget/BossFrames frames

Works for Player, Target, FocusTarget. Uses the standard Pet, TargetOfTarget frames. Is even better when combined with the new Blizzard CompactRaidFrames (also CompactPartyFrames)


Please note that the traditional PVP icons for the factions is used to show which faction the targeted player is in, even if the player is not flagged for PVP. The PVP Free-For-All icon is used to show hostile opposite faction players currently.

System Requirements

Total memory usage in normal operation: 17KB


Uses the Blizzard options for Player frames. UnitFramesImproved now also supports some basic slash-commands.

Available slash-commands

/unitframesimproved help Shows a help text
/unitframesimproved scale factor Scales the player and target frame using factor (0.0 - 10.0)
/unitframesimproved reset Resets the scaling of the player and target frames

You can also use the shortform /ufi instead of /unitframesimproved.

Movable PlayerFrames

This functionality is now included as part of WoW, and has as such been removed from UnitFramesImproved.

Scalable PlayerFrames

The portraits are linked and the scale factor will be applied to both PlayerFrame, TargetFrame, and also FocusFrame. The factor is 1.0 for normal size. 2.0 is 200% of normal size. 1.2 would be 20% larger than normal. The distance between PlayerFrame and Target frame is relative to scale of the frames. Scaling now also affects the BossFrames, at 90% scale of the factor used.

NOTE! By default the Player and Target frame positions are linked. This link can be cut by choosing to make the TargetFrame user-placed.

Future Improvements

  • Better support for healers that like to target->cast instead of using a click-to-cast addon like clique. (show deficit health etc)
  • Make some options available (like having a dps or healer focus on friendly frames)


  • Raid-icons shown for target-of-target and focus-target
  • Always show target-of-target and focus-target

Design Philosophy

I have a short list of design philosophies:

  • How I like it, is how the addon will be
    • I design this addon 100% after how I want it. Don't get me wrong, feedback is much appreciated as it may give me ideas that I had not yet thought about, and want for myself after that.
  • It just works (tm)
    • I like this one the best. I try to design all software I create around this principle. You shouldn't need to configure 54 options to get something that works. Things should work right out of the box, and execute it's task perfectly according to the requirement. If options upon options is what you want, there are other addons that do this. I got tired of them and created this.

Demonstration Videos

Known bugs

  • StatusBar Texts sometimes not showing properly until the value changes or the user mouseovers them.
  • Rogue Combo Points appearing a bit detached from the target unit-frame.
  • Added basic support for 6.0.
  • Removed incorrectly added MaxValue for status style "Both"


First Previous Page 1 of 15 Next Last
  • #220

    thanks for this addons, I would like to ask you if you can change the color of the bar of life of the player playing. garzie

  • #219

    Played around with the scaling options and found that when increasing the scale for DK the scaling of the runes is out of proportion to the frame scaling.  Basically as you scale the frame size up.. the DK runes scaler wider than the frame.

    Had a look at the code and found a function at line 168 - function UnitFramesImproved_SetFrameScale(scale)
    Within this function there are 6 lines to scale the sub-frames such as:

    I tried commenting out these lines and found that the runes now seem to scale properly in that they do NOT extend past the player frame edge.

  • #218

    Hey Love this design but i wonder if u could make a opion so u could make the green hp bars but still your sweet design :)

  • #217

    Finally I found a unit frame addon I like!

    My only issue is with the focus frame. I use a smaller focus frame and everytime I relog the frame is back to huge.

    If this was fixed, this addon would be exactly what I was looking for.

  • #216

    Is it possible to remove class color in the HP bar somehow? I really like it to be all green ^^

  • #215

    I love this addon, but lately it's been bugging and my stagger bar sometimes disappears. It gets fixed by reloading the ui, but it eventually happens again. Is there going to be a fix for this?

  • #212

    Could you please update this for the health info on pets and such to work properly?

    This is one of my favourite mods and I'd love to use it in Warlords of Draenor!

  • #213

    I agree. I would really like to see this updated, too

  • #211

    Using the /ufi scale command makes frames vanish.

    edit: BTW an option to move the cast bar on top of the frame would be nice

    Last edited by Anyusername on 10/25/2014 1:51:19 PM
  • #206

    also having the issue where you cannot hide status text. I tried to go through and fix it myself but I had no idea what I was looking for

  • #207

    So was I, it is very annoying.



    I guess it should be anywhere in the function UnitFramesImproved_TextStatusBar_UpdateTextStringWithValues ...



    Edit 2:

    if you exchange the Lines after

    local textDisplay = GetCVar("statusTextDisplay");



    all the Texts are gone. There will be a better way to do so, but it is a solution for now.

    Last edited by ToxynaAndros on 10/20/2014 2:30:41 AM
  • #214

    Thanks! worked for me, but there is a way I can activate text in my mana/energy/rage bar? 

  • #208

    I have replaced the function UnitFramesImproved_TextStatusBar_UpdateTextStringWithValues() (lines 246 - 300) with:

    local FramesWithValues = {
        PlayerFrameHealthBar = 0,
        FocusFrameHealthBar = 0,
        TargetFrameHealthBar = 1

    function UnitFramesImproved_TextStatusBar_UpdateTextStringWithValues(statusFrame, textString, value, valueMin, valueMax)
        if( statusFrame.LeftText and statusFrame.RightText ) then
        if ( ( tonumber(valueMax) ~= valueMax or valueMax > 0 ) and not ( statusFrame.pauseUpdates ) ) then
            local valueDisplay = value;
            local valueMaxDisplay = valueMax;
            if ( statusFrame.capNumericDisplay ) then
                valueDisplay = UnitFramesImproved_AbbreviateLargeNumbers(value);
                valueMaxDisplay = UnitFramesImproved_AbbreviateLargeNumbers(valueMax);
                valueDisplay = BreakUpLargeNumbers(value);
                valueMaxDisplay = BreakUpLargeNumbers(valueMax);

            local textDisplay = GetCVar("statusTextDisplay");
            --if ("TargetFrameHealthBar" == statusFrame.GetName()) then
            if (FramesWithValues[statusFrame:GetName()] == 1) then
                if ( value and valueMax > 0 and ( textDisplay ~= "NUMERIC" or statusFrame.showPercentage ) and not statusFrame.showNumeric) then
                    -- if ( value == 0 and statusFrame.zeroText ) then
                        -- textString:SetText(statusFrame.zeroText);
                        -- statusFrame.isZero = 1;
                        -- textString:Show();
                        -- return;
                    -- end
                    percent = math.ceil((value / valueMax) * 100) .. "%";
                    if ( textDisplay == "BOTH" and not statusFrame.showPercentage) then
                        valueDisplay = valueDisplay .. " (" .. percent .. ")";
                        valueDisplay = percent;
                        if ( statusFrame.prefix and (statusFrame.alwaysPrefix or not (statusFrame.cvar and GetCVar(statusFrame.cvar) == "1" and statusFrame.textLockable) ) ) then
                            textString:SetText(statusFrame.prefix .. " " .. valueDisplay);
                elseif ( value == 0 and statusFrame.zeroText ) then
                    -- textString:SetText(statusFrame.zeroText);
                    -- statusFrame.isZero = 1;
                    -- textString:Show();
                    statusFrame.isZero = nil;
                    if ( statusFrame.prefix and (statusFrame.alwaysPrefix or not (statusFrame.cvar and GetCVar(statusFrame.cvar) == "1" and statusFrame.textLockable) ) ) then
                        textString:SetText(statusFrame.prefix.." "..valueDisplay.."/"..valueMaxDisplay);
                Alternativ mal probieren, was passiert, wenn man diese Funktion
                ganz weglässt, beziehungsweise darin gar nichts macht.

    And now it does, what I think it should do for me.



    It would be much nicer to use the options the user selected in Blizzard's interface dialogs (in german: Esc > Interface > Statustext), but I don't know yet, how to do so.

    Last edited by ToxynaAndros on 10/21/2014 6:21:37 AM
  • #205



    I have the problem, that this addon displays numbers / other Strings on the Unit Frames of the Charakter and Party members, if I am in a party.


    I only could solve this issue by deinstalling UnitFramesImproved.


    I would like to use this addon further more, if this issue could be fixed.

  • #210


    I might have some time this weekend, will see if I can fix that then. All the options should be tied to the blizz settings.

  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »