Adding Unfriendly color for targeting unit #27


  • New
  • Patch
Open
Assigned to _ForgeUser10251
  • _ForgeUser1186653 created this issue Dec 6, 2008

    What does the provided patch do?
    The patch add an orange color in the health bar for Unfriendly target.

    In ag_UnitFrames\ag_UnitFrames.lua about line 1086 replacing

                elseif reaction == 1 or reaction == 2 or reaction == 3 then

    by

                elseif reaction == 3 then
                    r,g,b = 1, 0.69, 0.33
                elseif reaction == 1 or reaction == 2 then

    In ag_UnitFrames\modules\healthbar\healthbar.lua about line 185 add line

    local orange = {1, 0.69, 0.33}

    And about line 244 replace

                    elseif reaction == 1 or reaction == 2 or reaction == 3 then

    by

                    elseif reaction == 3 then
                        t = orange
                    elseif reaction == 1 or reaction == 2 then

    Please provide any additional information below.

    This is only changing the health bar color, and should not create any kind of issue.

  • _ForgeUser1186653 added the tags New Patch Dec 6, 2008

To post a comment, please login or register a new account.