Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.00 KB | None | 0 0
  1.             if (unit == "player") then
  2.                 castbar.button:SetPoint("LEFT", -52, T.Scale(11.2))
  3.                 castbar.button:SetHeight(T.Scale(46))
  4.                 castbar.button:SetWidth(T.Scale(46))
  5.                 T.SetTemplate(castbar.button)
  6.                 T.CreateShadow(castbar.button)
  7.             elseif (unit == "target") then
  8.                 castbar.button:SetPoint("CENTER", 0, T.Scale(28))
  9.                 castbar.button:SetHeight(T.Scale(26))
  10.                 castbar.button:SetWidth(T.Scale(26))
  11.                 T.SetTemplate(castbar.button)
  12.                 T.CreateShadow(castbar.button)
  13.             end
  14.             if (C["unitframes"].trikz == true) and (unit == "player") then
  15.                 castbar.button:SetPoint("LEFT", -30, T.Scale(0))
  16.                 castbar.button:SetHeight(T.Scale(25))
  17.                 castbar.button:SetWidth(T.Scale(25))
  18.                 T.SetTemplate(castbar.button)
  19.                 T.CreateShadow(castbar.button)
  20.             elseif (unit == "target") then
  21.                 castbar.button:SetPoint("CENTER", UIParent, 0, T.Scale(50))
  22.                 castbar.button:SetHeight(T.Scale(40))
  23.                 castbar.button:SetWidth(T.Scale(40))
  24.                 T.SetTemplate(castbar.button)
  25.                 T.CreateShadow(castbar.button)
  26.             end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement