Alongside all the groove rhythmic stuff that is in my opinion the priority of any bass player it is important to remember that bass lines are outlining the harmonies/chords of the music being played. The more harmony you explore via guitar piano etc the more ideas you will develop for your bass...