Tooltip - LuaTexts

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

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of profalbert 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

  • Avatar of rakkarage rakkarage Jun 04, 2010 at 22:54 UTC - 0 likes

    i guess AggroColor works? but kind of different?

  • 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

Reported by

Possible assignees