Music theory will help. I've been playing and writing music for 15+ years and theory still gets me out of ruts.
That said, there is an ios app called "Autochords" which is super helpful in setting up a decent chord structure based on feel/mood. I use it for a lot of my game compositions.