Hello
I'm trying to skin my cast bar (Gnosis) with beautycase but it doesn't work.
I made a small addon, zBorders with all my Bordercode inside and i managed to skin my minimap, kgpanesl, Shadowed Unitframes and Tooltip and this was no problem finding framenames with /fstack but on gnosis it just shows player and target for the castbars and this doesn't work, it returned a nil value for 'player'
I also couldn't skin my FeralDotDamage Addon. fstack showed me for the energy bar for example FeralDotDamageMainFrameEnergy but it returns a nill value too.
My Code
Code:
-- Creating the Beautycase Borders for the Frames
-- Minimap
Minimap:CreateBeautyBorder(12)
-- Tooltip
GameTooltip:CreateBeautyBorder(12)
-- OneBag3
OneBagFrame:CreateBeautyBorder(12)
-- FeralDotDamage
FeralDotDamageMainFrameStatusBarEnergy:CreateBeautyBorder(12)
-- Gnosis
player:CreateBeautyBorder(12)
target:CreateBeautyBorder(12)
-- Shadowed Unit Frames
local SUFUnits = ShadowUF.Units
local CreateUnit = SUFUnits.CreateUnit
function SUFUnits.CreateUnit(...)
local frame = CreateUnit(...)
frame:CreateBeautyBorder(12)
return frame
end
Errors i grabbed
Code:
1x ZBorders\code.lua:13: attempt to index global 'FeralDotDamageMainFrameStatusBarEnergy' (a nil value)
ZBorders\code.lua:13: in main chunk
1x ZBorders\code.lua:15: attempt to index global 'player' (a nil value)
ZBorders\code.lua:15: in main chunk
1x ZBorders\code.lua:16: attempt to index global 'target' (a nil value)
ZBorders\code.lua:15: in main chunk