yes, i would say it was pure luck.
funny thing is, i may not ever use them.
i've not even used the potions that are quest rewards or part of the storyline.