View Single Post
07-14-14, 06:44 AM   #19
Kygo
A Theradrim Guardian
 
Kygo's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 64
Originally Posted by Phanx View Post
You don't need to duplicate the whole section; just add another check around the parts that change:

Code:
if unit == "player" or unit == "target" then
	-- shared code here
	if unit == "player" then
		-- player specific code here
	else
		-- target specific stuff here
	end
end
I did not know that you could do that!
I still have a humongous amount to learn

New texture and color changes + Cpoint texture and size

Last edited by Kygo : 07-14-14 at 06:57 AM.
  Reply With Quote