HostileColor is wrong #9


  • New
  • Defect
Open
Assigned to profalbert
  • rakkarage created this issue Jun 4, 2010

    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.

  • rakkarage added the tags New Defect Jun 4, 2010
  • rakkarage posted a comment Jun 4, 2010

    i guess AggroColor works? but kind of different?

  • profalbert posted a comment Jun 28, 2010

    _G.FACTION_BAR_COLORS is setup by the client.

    Maybe I need to merge a newer version of pitbull's LuaTexts


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