I was about 50% from the line. I was about 35% from 3 (which is good), so it was mental, not ability-driven.
The off season I shot 500 free throws a week.
When the games came my senior season, I shot 83% from the line (and I averaged about 6 free throws a game).
The more practice, the easier it is mentally.