"Effect" is rarely used as a verb nowadays (although it is both a noun and verb); likewise, "affect" is rarely used as a noun (although it is both a noun and verb). The definition you used in your question is a good one, and will serve for 99% of the time.