The best advice I ever heard about luck was: "Be prepared to get lucky."
If only luck can save you, do everything as if you will get lucky. Not because of positive attitude and stuff like that but purely so you can take full advantage of a lucky break no matter how improbable.