27 - Adding Unfriendly color for targeting unit
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.
| User | When | Change |
|---|---|---|
| whynona2 | Sat, 06 Dec 2008 10:44:36 | Create |
Facts
- Reported on
- 06 Dec 2008
- Status
- New - Issue has not had initial review yet.
- Type
- Patch - Source code patch for review
- Priority
- Medium - Normal priority.