Quantcast WoWInterface - View Single Post - Change font colour of the HP-text from Blizzard-Raid Frames
View Single Post
01-05-20, 05:04 PM   #14
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 212
The inner if statement stops it from defaulting back or instead of an elseif use an else.

Lua Code:
  1. if self.optionTable.healthText == "losthealth" and tonumber(statusText:GetText() or "") and not statusText.fontOverridden then
  2.       --blah
  3. end
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison

Last edited by jeruku : 01-05-20 at 05:04 PM. Reason: Continuity.
  Reply With Quote