Thanks. I ended up with
Code:
if (self.Power) then
self.AuraStatusBR = self.Power:CreateFontString(nil, "OVERLAY")
else
self.AuraStatusBR = self.Health:CreateFontString(nil, "OVERLAY")
end
as otherwise I get an error
Message: ..\AddOns\oUF_Saul\oUF_Saul.lua line 50:
attempt to index field 'Power' (a nil value)
|
Thanks!