Arena Frames in class color

hello,

im looking for a script that changes the health bars of the default blizzard arena frames to class colored ones. They are currently shown in all green.

frame names i want to change are:

ArenaEnemyMatchFrame1HealthBar
ArenaEnemyMatchFrame2HealthBar
ArenaEnemyMatchFrame3HealthBar

I know there were scripts for player/target/focus frame but i cant even seem to find those to play around with and see what i can do.

any idea on how i could achieve that?

option>interface>enable/display class color :slightly_smiling_face:

If Doo’s solution doesn’t do it:
https://www.curseforge.com/wow/addons/healthbarcolor

this option is for raid/party frames only as far as i know. I have this already enabled. It does not affect arena frames.

This does not affect arena frames sadly and it alters other frames which I do not want.

I added a screenshot for clarification on what im looking for:

I want to display these green health bars in class color

I found something like this:

function()
    local _, class = UnitClass("player")
    local colors = (CUSTOM_CLASS_COLORS or RAID_CLASS_COLORS)[class or "PRIEST"]
    return colors.r, colors.g, colors.b
end

maybe this can be rewritten, any ideas?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.