I think that both are VERY important.
If you look at the top pros, they are all very lucky. Why? Because they know how to use the luck, and they know how to get lucky.
How many times do you see them stay in a hand with two rotten cards? Often. They can size up, instantly, what their odds are, based on how many are left in the hand, their position at the table, the playing style of those left in the hand, and very importantly,
pot odds.
Daniel Negreanu, and Doyle Brunson are the best I've ever seen, at this. They can turn a rotten hand into a good hand, because they recognise a possible lucky situation, and have had it happen to them before.