Thread: Inverted health
View Single Post
12-09-14, 05:43 PM   #1
MoonWitch
A Firelord
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 455
Inverted health

I am trying to learn - let's start off with that.

Now .colorHealth (and all others) seem only applicable to self.Health. But I would like to have self.Health have a set color (yes, dark as everyone else :P) and have self.Health.bg have the .colorHealth, .colorSmooth (etc).

I tried in the simplest form obviously, but - no.

I thought about doing it by changing the color tables and trying to get it right by using the multiplier on the background. But I am not sure if this is indeed the way to go.

I am not looking for the straight answer, just a pointer so I can "discover" it. (It helps me understand.)

@Phanx, I love your code, but it's way too advanced for me - the color part. Spent an hour trying to make sense of it, and it's just not getting in there :P
__________________
  Reply With Quote