i have created an ouf layout for TBC Classic.
to add castbars i created a function which is called within player and target function. The player castbar works just fine but the target castbar does not work at all. Here are the issues:
- The target castbar does not appear for any target casts of other players or npcs with exception of my casts (if I target myself)
- if I interrupt my spellcast the target castbar will still continue the spellcast.
- if I cast a spell and switch to another target than myself the target castbar (with my currently casted spell) wont disappear or update to the new targets casted spell.
Here is the code for my castbar
The Castbar Code
createCastBar =function(self, x, y, w, h, unit)
local Castbar = CreateFrame('StatusBar', nil, self, "BackdropTemplate")
The official oUF has no support for classic or tbc classic. I can't tell from your post which version you are using. The elvui guys had a fork for classic, maybe they have done it for tbc classic as well.