× General topics about the Retail version of Healbot

Change Aggro Text Color Only

2 weeks 3 days ago
Silmaris's Avatar
Silmaris
New Member
New Member
Posts: 3
More
Topic Author
Change Aggro Text Color Only #1
Hello there!

I was rooting around through HealBot/Actions/Options lua's trying to find the specific line that controlled the printing of your HP and Aggro % because what I would like to do is have the aggro percent display as a fixed RGB color (I'd find a shade of red I liked). So the HP colors are controlled by the class currently, I don't want to mess with that, I just want the Aggro % to the right of the HP to pop out and be very easy for me to notice. Currently I kind of lose it in the HP text. If everyone's aggro % was the same color it would be easier for me to keep an eye on it.

Is such a thing possible?

Thanks so much all!

Please Log in or Create an account to join the conversation.

2 weeks 3 days ago
Strife's Avatar
Strife
Administrator
Administrator
Posts: 1421
Karma: 8
More
Change Aggro Text Color Only #2
At line 552 in HealBot_Text.lua you could try adding a colour code.
Something like this
            tHealthConcat[vHealthTextConcatIndex+2]=_G["ORANGE_FONT_COLOR_CODE"]..aggroNumFormatSurLa[button.frame]
or a specific hex colour
            tHealthConcat[vHealthTextConcatIndex+2]="|cffC41F3B"..aggroNumFormatSurLa[button.frame]

Please Log in or Create an account to join the conversation.

2 weeks 3 days ago 2 weeks 3 days ago by Silmaris.
Silmaris's Avatar
Silmaris
New Member
New Member
Posts: 3
More
Topic Author
Change Aggro Text Color Only #3
Wow Strife you are so fast to respond that I didn't even see you had so quickly. Thank you! Are these the same in Healbot 3.3.5.4? I don't have a file by that name but would the code be the same?

Please Log in or Create an account to join the conversation.

Moderators: ctshammyAcirac