• 0

    posted a message on Help with color changeing rage bar
    thnk you for your help and yes as i said i got thee code from a youtube video so it was easy to confuse the commas for periods
    Posted in: Lua Code Discussion
  • 0

    posted a message on Help with color changeing rage bar
    I need help finding the correct way to make a rage tracker that'll change different color in intervals >=20,>59,>80 using weakauras ive tried the string touchymcfeel posted on but it apparently only worked for MoP beta if you could help PLEASE do...:confused:



    function (progressr1,g1,b1,a1,r2,g2,b2,a2)

    local player_rage= UnitPower ("Player".1)

    local red.green.blue=0.0.0

    if player_rage is >84 then
    red.green.blue=1.1.1
    elseif player_rage is >59 then
    red.green.blue=0.1.0
    elseif player_rage is >=20 then
    red.green.blue.=0.1.1
    else
    red.green.blue=1.0.0
    end

    return red.green.blue.1
    end
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.