Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (unit == "player") then
- castbar.button:SetPoint("LEFT", -52, T.Scale(11.2))
- castbar.button:SetHeight(T.Scale(46))
- castbar.button:SetWidth(T.Scale(46))
- T.SetTemplate(castbar.button)
- T.CreateShadow(castbar.button)
- elseif (unit == "target") then
- castbar.button:SetPoint("CENTER", 0, T.Scale(28))
- castbar.button:SetHeight(T.Scale(26))
- castbar.button:SetWidth(T.Scale(26))
- T.SetTemplate(castbar.button)
- T.CreateShadow(castbar.button)
- end
- if (C["unitframes"].trikz == true) and (unit == "player") then
- castbar.button:SetPoint("LEFT", -30, T.Scale(0))
- castbar.button:SetHeight(T.Scale(25))
- castbar.button:SetWidth(T.Scale(25))
- T.SetTemplate(castbar.button)
- T.CreateShadow(castbar.button)
- elseif (unit == "target") then
- castbar.button:SetPoint("CENTER", UIParent, 0, T.Scale(50))
- castbar.button:SetHeight(T.Scale(40))
- castbar.button:SetWidth(T.Scale(40))
- T.SetTemplate(castbar.button)
- T.CreateShadow(castbar.button)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement