Originally Posted by Phanx
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