Effort is more important than luck if you have to choose between the two, because effort is always controllable and is singular, whereas luck requires two more ingredients.
Luck is created when effort, hope, and consistency are united.
Hope is focused belief, defined dreams, and deliberate goals combined.
If we choose to work hard, and choose to have hope, and choose it over and over again, in the end, we are just choosing luck.