Originally Posted by TheWhiteFang
How do I make my and the targets healthbars lose the health bar as I lose hp? ... I would like to have the current hp value like it is at the moment.
|
I'm not sure what you mean. What you're describing is how it already works -- when you or your target loses health, the health bar depletes to match your or your target's current health (eg. if you have 10k total health, and you are missing 2.5k health, the health bar is 75% full because you have 75% of your health remaining) and the text displays the amount of health you or your target has left.
If you're seeing something else, double-check any other changes you've made to see if you broke something. If you don't already have BugSack or Swatter installed and enabled, go fix that ASAP. Working with WoW addon code without a competent error display is like assmebling a jigsaw puzzle in a lightless room -- theoretically possible, but far more difficult than it needs to be.
Originally Posted by TheWhiteFang
How can I change the health numbers to a white color instead of class color? I know it shouldn't be hard to go in a file and just change the "Health_Color" or something like that, but I just can't seem to find it
|
In Functions.lua, there is a function named PostHupdateHealth. If you want the health to always be white, change all of the lines inside that function that look like this:
Code:
bar.value:SetformattedText("|cff%02x%02x%02x%s|r", color[1] * 255, color[2] * 255, color[3] * 255, <something here>)
to just:
Code:
bar.value:SetFormattedText(|cffffffff%s|r", <something here>)
... and then remove all the lines that define/modify the "color" variable, since you're not using it.
Originally Posted by TheWhiteFang
I was wondering if it's possible to make it so that I can see my trinket procs appear over my player frame without me having to hold in shift?
|
Yes, and you don't even need to modify any code. Open the options panel (type "/pouf" or browse to it in the standard Interface Options frame), go to the Auras panel, and type in the spell IDs for the spells you want to add, and set them to show only on the player frame.