9 - HostileColor is wrong
What steps will reproduce the problem?
1. use return Colorize(Name(unit), HostileColor(unit))
or
local r,g,b = HostileColor(unit)
return '|cff%02x%02x%02x%s',r,g,b,Name(unit)
2.
3.
What is the expected output? What do you see instead?
the color should match old cowtip codes and pitbull luaText?
the player colour should be some shade or blue while in dal with pvp flag off... yet it shows white? or gray? if i type /pvp the my name turns green and shows up correctly in the cowtip luatext but for other modes the color is wrong
where does _G.FACTION_BAR_COLORS come from? who sets that up?
What version of the product are you using?
B: v0.4.1-beta for 3.3.0 on 7 Jan 2010
Do you have an error log of what happened?
Please provide any additional information below.
| User | When | Change |
|---|---|---|
| rakkarage | Jun 04, 2010 at 10:59 UTC | Create |
- 2 comments
- 2 comments
Facts
- Reported
- Jun 04, 2010
- Status
- New - Issue has not had initial review yet.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- Votes
- 0
- Reply
- #2
profalbert Jun 28, 2010 at 16:36 UTC - 0 likes_G.FACTION_BAR_COLORS is setup by the client.
Maybe I need to merge a newer version of pitbull's LuaTexts
- Reply
- #1
rakkarage Jun 04, 2010 at 22:54 UTC - 0 likesi guess AggroColor works? but kind of different?